title: Pascal to C converter
body: <p>I'm writing program which translate Pascal to C and need some help. I started with scanner generator Flex. I defined some rules and created scanner which is working more or less ok. It breaks Pascal syntax into tokens, for now it's only printing what it found. But I have no idea what should I do next.  Are there any articles or books covering this subject? What is the next step?</p>