On Tue, 3 Jul 2001, Bart Schuller wrote:
The Apple Newton was programmed in NewtonScript, a prototype-based
language. http://www.cc.gatech.edu/~schoedl/projects/NewtonScript/ seems
like a nice overview.
NewtonScript was an excellent language; with prototype-based inheritance,
you could get
On Sun, 6 May 2001, Jarkko Hietaniemi wrote:
durian.
Aw, nuts. You beat me to it. Do we really think the externals will be
spiky and the internals smelly but delicious?
--- Joe M.
Jonathan Scott Duff wrote:
How about something like this?
$re = qr/(\d\d)-(\d\d)-(\d\d)/g;
$re-onmatch_callback(push @list, makedate(^0,^1,^2));
$string =~ $re;
It's not bad, but it loses one thing that I was trying to keep from the
SNOBOL model. If you have (again,
I was wondering this morning whether we ought to write the Perl 6
parser as a set of recursive regexes. Might make it easier to plug in
new productions on the fly. And designing the parser around regexes
might indicate ways in which Perl's regexes are not yet powerful
enough.
There's a