Related articles |
---|
Pascal to C advice wanted joseph@cse.iitk.ac.in (Joseph George) (2000-02-21) |
Re: Pascal to C advice wanted rkrayhawk@aol.com (2000-02-27) |
Re: Pascal to C advice wanted alimarine@zonnet.nl (Artem Alimarine) (2000-04-01) |
From: | Artem Alimarine <alimarine@zonnet.nl> |
Newsgroups: | comp.compilers |
Date: | 1 Apr 2000 14:16:28 -0500 |
Organization: | Compilers Central |
References: | 00-02-107 |
Keywords: | Pascal, C, translator |
Check out
http://www.ispras.ru/~knizhnik/
It contains a pascal-to-c converter in the source code. You can check
how that works: it builds parse tree, then it modifiers it to be
"C-compatible" (like turning local functions into static global) and
then it emits the C-code.
Artem
Return to the
comp.compilers page.
Search the
comp.compilers archives again.