At 7:10 PM -0700 1/17/03, Cory Spencer wrote:
IMCC, as many people have pointed out, is a step in this chain, as it means now that you can go:Hey folks -In my wanders through the parrot/languages subdirectories, it appears that most example languages implement a complete compiler (ie lexxer -> parser -> optimizer -> code emitter), which seems to be somewhat of a duplication of labour.
lexer->parser->simple code emitter->(parrot+imcc)
rather than
lexer->parser->code emitter->optimizer->parrot
IMCC doesn't completely remove the need to translate to parrot assembly, or something reasonably equivalent, but that's the next step.
The plan, such as it is, is to get the perl 6 regex spec implemented, and then use it to handle the front end parts, the lexing and parsing. IMCC will be beefed up to take in ASTs that the lexer/parser emit, and then it should just be a matter of building the rules.
--
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk