|Re: component-based programming and compiler construction firstname.lastname@example.org (Jatin Bhateja, Noida) (2005-08-31)|
|component-based programming and compiler construction hamel@Think.COM (Lutz Hamel) (1996-03-15)|
|Re: component-based programming and compiler construction email@example.com (1996-03-17)|
|Re: component-based programming and compiler construction Uwe.Assmann@inria.fr (1996-03-21)|
|From:||"Jatin Bhateja, Noida" <firstname.lastname@example.org>|
|Date:||31 Aug 2005 00:33:31 -0400|
|Posted-Date:||31 Aug 2005 00:33:31 EDT|
There is a tool named ANTLR (Another tool for language recognition )
which is helpful in this context.
It provides three fractures .Lexical analyzer, parser and tree walker.
Means once you generate the AST after lexical and parsing phase the you
can traverse this tree and
Do what ever you want with it.
I personally made a small high level language translator using it. Once
on making the AST (abstract syntax tree) I
Traversed this AST and while doing so I associated the code to generate
the different language in its semantic actions.
There are other tolls like TXL , Sable-cc to which provide the same
Thanks and Best Regards
Contributing to the World by creating indispensable value
System Software CoE @ HCLT-Noida
Ph. : +91-120-2510701/702 Ext : 3126
FAX : +91-120-2510713
Return to the
Search the comp.compilers archives again.