http://www.perlmonks.org?node_id=624458


in reply to Breaking The Rules II

That's interesting. I've "used" Parse::RecDescent but never stressed it. I got a basic intro to Parrot's compiler tools last week. I'm curious now how that would fare. You get to write a grammar in Perl 6, annotate your productions with associativity information and other stuff. This goes right to an AST which you can register events against. From there, you produce an opcode syntax tree and from there you get byte code.

This is a tool aimed at this kind of task, y'know? It ought to be decent.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Replies are listed 'Best First'.
Re^2: Breaking The Rules II
by Limbic~Region (Chancellor) on Jul 02, 2007 at 14:59 UTC
    diotalevi,
    The problems I encountered with Parse::RecDescent have been solved and then some with Perl 6 rules. Unfortunately, this meditation is more than a year old and the state of things then was far worse than it is now.

    Cheers - L~R