develooper Front page | perl.perl6.language | Postings from July 2006

Re: Using Rules Today

Thread Previous
Flavio S. Glock
July 3, 2006 09:12
Re: Using Rules Today
Message ID:
2006/7/3, Joshua Gatcomb <>:
> I am specifically interested in examples that can be run in Perl 5 today
> without needing Pugs or Parrot.
- doesn't do exactly what you want, but you can see what the syntax
looks like for writing an evaluator using rules in p5.
- this is the grammar for rules, written in rules.
The last rules have looser precedence; the rules at the start of the
file have tighter precedence.
This grammar is compiled to p5 using lrep.

- Flavio S. Glock

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About