Re: component-based programming and compiler construction

"Jatin Bhateja, Noida" <jatinb@noida.hcltech.com>
31 Aug 2005 00:33:31 -0400

          From comp.compilers

Related articles
Re: component-based programming and compiler construction jatinb@noida.hcltech.com (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 smalle1@ibm.net (1996-03-17)
Re: component-based programming and compiler construction Uwe.Assmann@inria.fr (1996-03-21)
| List of all articles for this month |

From: "Jatin Bhateja, Noida" <jatinb@noida.hcltech.com>
Newsgroups: comp.compilers
Date: 31 Aug 2005 00:33:31 -0400
Organization: Compilers Central
Keywords: tools
Posted-Date: 31 Aug 2005 00:33:31 EDT

Hi
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
functionality.


Thanks and Best Regards
Jatin Bhateja
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Contributing to the World by creating indispensable value


System Software CoE @ HCLT-Noida
http://www.hcltechnologies.com
Ph. : +91-120-2510701/702 Ext : 3126
FAX : +91-120-2510713
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Post a followup to this message

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