Newsgroups: perl.perl6.language
From: fibon...@babylonia.flatirons.org (Luke Palmer)
Date: Mon, 2 Feb 2004 02:09:33 -0700
Local: Mon, Feb 2 2004 4:09 am
Subject: Compiler writing tools
I've been writing a lot of compiler recently, and figuring as how Perl
6 is aiming to replace yacc, I think I'll share some of my positive and negative experiences. Perhaps Perl 6 can adjust itself to help me out a bit. :-) =over =item * RegCounter I have a class called RegCounter which is of immense use, but could be It has a method called C<next> that returns a new RegCounter that shares The first <[^a-z]> characters in the name are passed along to the So I can do, for instance: method if_statement::code($rc) { # $rc is the regcounter =item * Concatenations The code example you just saw gets much, much uglier if there is added I think $() will help somewhat, as will interpolating method calls, but method logical_or_expression::code($rc) { For this case, I think it would also be a good idea to have a string =item * Comments We've already gone over this, but it'd be good to have the ability for =item * Line Counting It is I<essential> that the regex engine is capable (perhaps off by =back Luke You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||