Code generation!

fidel de araujo viegas <viegasfh@hotmail.com>
10 Jul 1999 01:15:11 -0400

          From comp.compilers

Related articles
Code generation! viegasfh@hotmail.com (fidel de araujo viegas) (1999-07-10)
| List of all articles for this month |
From: fidel de araujo viegas <viegasfh@hotmail.com>
Newsgroups: comp.compilers
Date: 10 Jul 1999 01:15:11 -0400
Organization: Compilers Central
Keywords: question

Hi!


I'm a student of computer and information engineering, and I'm self
teaching compilers implementation. I've mastered up to parser
generation with JavaCC and Tree building with JTB, but my problem is
how to use the visitors generated by JTB. How do I generate code after
this. I would like to know if there is any web site where I can find
visitor manipulation and code generation, because the books I've been
reading is for computer wizards, which is not my case. So if you do
know where I can learn this, please tell me.


Oh! another query, How does the parser generated by JavaCC know if
there is a duplicated identifier ? How does it build the symbol table,
and how do we manipulate it. I know how to do it with JFlex and CUP,
but I find JavaCC much easier. If anyone can help me, please I'll
appreciate.


Regards,
Fidel Viegas


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.