Just throwing something out

2003-03-27 Thread Chris Dutton
It occurred to me tonight, that those looking for a compiler project involving Parrot might consider a Sather compiler. It'd have to wait for objects(and thus likely Parrot 0.1), but it'd be an interesting language to have available as a testing tool for the object-oriented capabilities of Par

Re: [microPATCH] make imcc build with BSD make

2003-03-27 Thread Steve Fink
On Mar-27, Anton Berezin wrote: > Index: config/gen/makefiles/imcc.in > === > RCS file: /cvs/public/parrot/config/gen/makefiles/imcc.in,v > retrieving revision 1.15 > diff -u -r1.15 imcc.in > --- config/gen/makefiles/imcc.in 22 Ma

Re: getopt.macro

2003-03-27 Thread Benjamin Goldberg
Jonathan Scott Duff wrote: > > I'm fiddling around with parrot and created a getopt macro (inspired > by the arg processing in Leon Brocard's uniq.pasm :-). This is my > first attempt at something semi-useful in parrot. > > Anyway, here it is and looking for comments, [snip] > # Note: Both P15

Re: A6: argument initializations via //=, ||=, ::=

2003-03-27 Thread Michael Lazzaro
On Tuesday, March 25, 2003, at 12:59 PM, Smylers wrote: Michael Lazzaro writes: Larry Wall wrote: We don't have a word for "START" right now. It's somewhat equivalent to state $foo //= 0 unless $foo gets undefined, I suppose. Assuming we have a static-like scope called C, one can definitely s

[PATCH] Terminate examples/assembly/cat.pasm on ctrl-D

2003-03-27 Thread Paul Duncan
Hi, Attached is a patch to make examples/assembly/cat.pasm terminate when it receives a ctrl-D. I'm new to the list and to Parrot, so please be gentle if I've committed some sort of faux pas :). -- Paul Duncan <[EMAIL PROTECTED]>pabs in #ruby-lang (FN IRC) http://www.pablotron.org/

Re: Embedded foreign syntax (was Re: P6ML?)

2003-03-27 Thread Joseph F. Ryan
Joseph F. Ryan wrote: >Miko O'Sullivan wrote: > >>Andy Wardley wrote: >> >>>For example, it might be possible to do something like this: >>> >>> use Perl6::XML; >>> >>> >>> blah blah >>> >>> >>> use Perl6; >>> >>> print $thingy.blah; >> >> >> >>We already have the ability to embed fo

getopt.macro

2003-03-27 Thread Jonathan Scott Duff
I'm fiddling around with parrot and created a getopt macro (inspired by the arg processing in Leon Brocard's uniq.pasm :-). This is my first attempt at something semi-useful in parrot. Anyway, here it is and looking for comments, -Scott >8>8 >8 >8- # getopt.macro # # Scans

IMCC Changes necessary for Win32 builds

2003-03-27 Thread Clinton A. Pierce
Many of these seem to be from "generated" files, so I'd rather let a proper, knowledgable maintainer take care of these. They are: s/CONST/CONSTX/ anywhere in the parser & lexer. Keeps Win32 headers happy as previously mentioned. Index: imcparser.h

Re: Embedded foreign syntax (was Re: P6ML?)

2003-03-27 Thread Andy Wardley
Miko O'Sullivan wrote: > We already have the ability to embed foreign languages (XML, HTML, > whatever) using here docs: > > $myml = MyXmlParser->new(<< '(MARKUP)'); > > blah blah > > (MARKUP) True, but what kind of magic is hiding inside MyXmlParser? One problem is that writing My

[microPATCH] make imcc build with BSD make

2003-03-27 Thread Anton Berezin
Index: config/gen/makefiles/imcc.in === RCS file: /cvs/public/parrot/config/gen/makefiles/imcc.in,v retrieving revision 1.15 diff -u -r1.15 imcc.in --- config/gen/makefiles/imcc.in22 Mar 2003 22:06:09 - 1.15 +++ config

Re: Embedded foreign syntax (was Re: P6ML?)

2003-03-27 Thread Joseph F. Ryan
Miko O'Sullivan wrote: >Andy Wardley wrote: > >>For example, it might be possible to do something like this: >> >> use Perl6::XML; >> >> >>blah blah >> >> >> use Perl6; >> >>print $thingy.blah; > > > >We already have the ability to embed foreign languages (XML, HTML, >whateve

Re: Embedded foreign syntax (was Re: P6ML?)

2003-03-27 Thread Joseph F. Ryan
Miko O'Sullivan wrote: >Andy Wardley wrote: > >>For example, it might be possible to do something like this: >> >> use Perl6::XML; >> >> >>blah blah >> >> >> use Perl6; >> >>print $thingy.blah; > > > >We already have the ability to embed foreign languages (XML, HTML, >whateve