Re: GSOC PEG project

2010-07-18 Thread Andy Wingo
On Sat 17 Jul 2010 14:56, l...@gnu.org (Ludovic Courtès) writes: Andy Wingo wi...@pobox.com writes: Take the good conventions from (ice-9 match), but there is no strict need for compatibility. This should read (ice-9 regex), I think. Ah indeed, my mistake. I think my head was swimming at

Re: GSOC PEG project

2010-07-17 Thread Andy Wingo
Heya, Sorry for the delayed reply again! I am trying to drain my email swamp, but there is a sucking sound there... On Fri 09 Jul 2010 09:58, Michael Lucy michaelgl...@gmail.com writes: You should change it to be implemented with syntax-case. Please let me know if you need help. Sorry I

Re: GSOC PEG project

2010-07-17 Thread Andy Wingo
On Sun 11 Jul 2010 09:48, Michael Lucy michaelgl...@gmail.com writes: On Thu, Jul 8, 2010 at 11:21 AM, Andy Wingo wi...@pobox.com wrote: Humm, another thing to think about: (ice-9 regex) returns match structures, which are really just vectors; have a look at them, and if it makes sense to

Re: GSOC PEG project

2010-07-17 Thread Ludovic Courtès
Hi, Andy Wingo wi...@pobox.com writes: On Sun 11 Jul 2010 09:48, Michael Lucy michaelgl...@gmail.com writes: On Thu, Jul 8, 2010 at 11:21 AM, Andy Wingo wi...@pobox.com wrote: Humm, another thing to think about: (ice-9 regex) returns match structures, which are really just vectors; have a

Re: GSOC PEG project

2010-07-11 Thread Michael Lucy
On Thu, Jul 8, 2010 at 11:21 AM, Andy Wingo wi...@pobox.com wrote: Hi Michael, On Tue 06 Jul 2010 00:59, Michael Lucy michaelgl...@gmail.com writes: (use-modules (ice-9 peg)) (peg-find 'b'+ aabbcc) -- (2 4 bb) Humm, another thing to think about: (ice-9 regex) returns match structures,

Re: GSOC PEG project

2010-07-10 Thread Michael Lucy
On Fri, Jul 9, 2010 at 2:58 AM, Michael Lucy michaelgl...@gmail.com wrote: On Thu, Jul 8, 2010 at 5:29 AM, Andy Wingo wi...@pobox.com wrote: A .texi file will be good, alongside the LALR(1) parser. Working on this now; should be done soon. Pushed a first version of api-peg.texi up to

Re: GSOC PEG project

2010-07-09 Thread Andy Wingo
Hi Michael, On Tue 06 Jul 2010 00:59, Michael Lucy michaelgl...@gmail.com writes: (use-modules (ice-9 peg)) (peg-find 'b'+ aabbcc) -- (2 4 bb) Humm, another thing to think about: (ice-9 regex) returns match structures, which are really just vectors; have a look at them, and if it makes sense

Re: GSOC PEG project

2010-07-09 Thread Andy Wingo
Good day sir or lady, Agreed regarding all of your points, and particularly: On Tue 06 Jul 2010 02:41, No Itisnt theseaisinh...@gmail.com writes: A personal whinge: I would like to be able to specify grammars in Scheme, using macros as the sugar instead of a different syntax. Yes! Exciting

Re: GSOC PEG project

2010-07-06 Thread Ludovic Courtès
Hello, No Itisnt theseaisinh...@gmail.com writes: On Mon, Jul 5, 2010 at 6:59 PM, Michael Lucy michaelgl...@gmail.com wrote: On Mon, Jul 5, 2010 at 5:40 PM, Ludovic Courtès l...@gnu.org wrote: Michael Lucy michaelgl...@gmail.com writes: Files I've added so far: guile/modules/ice-9/peg.scm

GSOC PEG project

2010-07-05 Thread Michael Lucy
Hi, I finally got things into a usable state, so I pushed out what I have to origin/mlucy. Many apologies if I did something wrong; I've never used git with remote repositories before. Files I've added so far: guile/modules/ice-9/peg.scm (I assume this is the right place to put this?)

Re: GSOC PEG project

2010-07-05 Thread No Itisnt
On Mon, Jul 5, 2010 at 6:59 PM, Michael Lucy michaelgl...@gmail.com wrote: On Mon, Jul 5, 2010 at 5:40 PM, Ludovic Courtès l...@gnu.org wrote: Hi! Thanks for the status report! Michael Lucy michaelgl...@gmail.com writes: Files I've added so far: guile/modules/ice-9/peg.scm (I assume this