Re: Lexer, Parser, AST, what now?

lican <licaner@gmail.com>
Tue, 17 Mar 2009 23:12:30 -0700 (PDT)

          From comp.compilers

Related articles
Lexer, Parser, AST, what now? licaner@gmail.com (lican) (2009-03-10)
Re: Lexer, Parser, AST, what now? ang.usenet@gmail.com (2009-03-15)
Re: Lexer, Parser, AST, what now? licaner@gmail.com (lican) (2009-03-17)
Re: Lexer, Parser, AST, what now? ang.usenet@gmail.com (Aaron Gray) (2009-03-18)
| List of all articles for this month |
From: lican <licaner@gmail.com>
Newsgroups: comp.compilers
Date: Tue, 17 Mar 2009 23:12:30 -0700 (PDT)
Organization: Compilers Central
References: 09-03-047 09-03-074
Keywords: analysis
Posted-Date: 18 Mar 2009 06:21:59 EDT

Since I'm trying to generate dynamic language bytecode for my VM LLVM
will not do me any good. I managed to generate CFG and basic blocks
with DAG directly from AST. It's not finished yet so it's hard to tell
if the generated code does work. But the first results are promising.
It generates almost the same graph that I would draw on paper if I was
the compiler. As for SSA... I know what it is and I think it's still
to early, I'll try to do the basic optimizations first, i.e. constant
propagation and dead code elimination.


As for compiler frameworks I couldn't find a similar thing for dynamic
languages. I know DLR and Parrot exist. It's just that Parrot is
lacking some documentation and more consistent examples. As for DLR, I
saw ONE tutorial floating arount the net, but nothing clear and
readable. I learn by reinventing the wheel I guess. If the available
wheels are barely turning...


Post a followup to this message

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