Re: First public release of grammar engine

2004-11-22 Thread Patrick R. Michaud
On Mon, Nov 22, 2004 at 02:40:00AM -0500, William Coleda wrote: > > I'll be able to use this to implement quite a few items missing from > ParTcl, and those updates should hit CVS in the next week or so. Great, I'm hoping there's enough of p6ge present to really help. There are still quite a few

Re: First public release of grammar engine

2004-11-19 Thread Patrick R. Michaud
On Sat, Nov 20, 2004 at 12:18:17AM +, Nicholas Clark wrote: > $ ../../parrot demo.pir > input /pattern, string to match, + to continue match, ? to print pir, > / > Unrecognized character at offset 1 (found '') > Segmentation fault > > Is this a known limitation? [Done after Andy's patch went

Re: First public release of grammar engine

2004-11-19 Thread Nicholas Clark
On Thu, Nov 18, 2004 at 04:01:54PM -0700, Patrick R. Michaud wrote: > I've just committed the first draft of a Perl 6 grammar engine to > the parrot repository (in compilers/p6ge). What you'll find there > is still at a somewhat early stage of development, I'm releasing it > now so that people can

Re: First public release of grammar engine

2004-11-19 Thread Will Coleda
This would be a good idea. pmc's fix for the malloc.h issue gets the error below. All the CC flags (and file extensions, and path separator) should be pulled from config. Also, missing a "clean" target. (Sorry if it sounds like I'm complaining, I just want to try this out! =-) cc -I ../../incl

Re: First public release of grammar engine

2004-11-19 Thread Patrick R. Michaud
On Fri, Nov 19, 2004 at 07:03:45AM -0800, Will Coleda wrote: > This would be a good idea. pmc's fix for the malloc.h issue gets the error > below. > > All the CC flags (and file extensions, and path separator) > should be pulled from config. > > Also, missing a "clean" target. > > (Sorry if it

Re: First public release of grammar engine

2004-11-19 Thread Patrick R. Michaud
On Fri, Nov 19, 2004 at 02:54:20PM +0100, Leopold Toetsch wrote: > > Well, p6ge should eventually use Parrot's config info and the Makefile > ought to be a generated one. s/eventually use/be using/# :-) Dan's moved the item to p6i, so hopefully someone there will either make the changes for

Re: First public release of grammar engine

2004-11-19 Thread Leopold Toetsch
William Coleda <[EMAIL PROTECTED]> wrote: > Patrick R. Michaud wrote: >> >> P6GE assumes that it is part of the parrot distribution in the >> F directory. Simply type C in this directory >> to build the F shared library it needs. > oolong:~/research/parrot/compilers/p6ge coke$ make > cc -I ../

Re: First public release of grammar engine

2004-11-19 Thread Matthew Walton
William Coleda wrote: Patrick R. Michaud wrote: P6GE assumes that it is part of the parrot distribution in the F directory. Simply type C in this directory to build the F shared library it needs. cc -shared -fpic p6ge_parse.o p6ge_gen.o p6ge_parsep5.o -o p6ge.so cc: unrecognized option `-shar

Re: First public release of grammar engine

2004-11-19 Thread Dan Sugalski
At 7:26 AM -0700 11/19/04, Patrick R. Michaud wrote: On Fri, Nov 19, 2004 at 09:05:31AM -0500, Dan Sugalski wrote: At 7:00 AM -0700 11/19/04, Patrick R. Michaud wrote: >One of the areas where we can definitely use assistance is >in porting and testing p6ge in operating environments different >f

Re: First public release of grammar engine

2004-11-19 Thread Patrick R. Michaud
On Fri, Nov 19, 2004 at 09:05:31AM -0500, Dan Sugalski wrote: > At 7:00 AM -0700 11/19/04, Patrick R. Michaud wrote: > >One of the areas where we can definitely use assistance is > >in porting and testing p6ge in operating environments different > >from the ones I have available to me--currently I'

Re: First public release of grammar engine

2004-11-19 Thread Dan Sugalski
At 7:00 AM -0700 11/19/04, Patrick R. Michaud wrote: On Fri, Nov 19, 2004 at 07:52:57AM -0500, William Coleda wrote: oolong:~/research/parrot/compilers/p6ge coke$ make cc -I ../../include -c -o p6ge_parse.o p6ge_parse.c p6ge_parse.c:23:20: malloc.h: No such file or directory Oops. Should've b

Re: First public release of grammar engine

2004-11-19 Thread Patrick R. Michaud
On Fri, Nov 19, 2004 at 07:52:57AM -0500, William Coleda wrote: > oolong:~/research/parrot/compilers/p6ge coke$ make > cc -I ../../include -c -o p6ge_parse.o p6ge_parse.c > p6ge_parse.c:23:20: malloc.h: No such file or directory Oops. Should've been stdlib.h instead. Fixed, thanks. > make: **

Re: First public release of grammar engine

2004-11-19 Thread William Coleda
Patrick R. Michaud wrote: P6GE assumes that it is part of the parrot distribution in the F directory. Simply type C in this directory to build the F shared library it needs. oolong:~/research/parrot/compilers/p6ge coke$ make cc -I ../../include -c -o p6ge_parse.o p6ge_parse.c p6ge_parse.c:2