Pascal to C converter

Ziem picture Ziem · Apr 29, 2012 · Viewed 14.5k times · Source

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?

Answer

NPE picture NPE · Apr 29, 2012