I did the renames. I had to push them as a new branch, 'wip-peg-fixed-2', because I also rebased on a more recent version of master to avoid some build problems. However, the peg patches are independent of everything that's been happening in master and stable-2.0, so they should apply to both branches cleanly (except possibly for merging the makefiles).
The new names are: define-peg-pattern: define a nonterminal from an s-expression define-peg-string-patterns: define many nonterminals from a string match-pattern: see if a nonterminal matches a string search-for-pattern: see if a nonterminal matches a string, starting at each successive offset until a match is found or you reach the end compile-peg-pattern: turn an s-expression or a string into syntax which defines a parser for the given pattern The only weirdness I can see is that we don't really need two define-peg-* things, because the macro could just detect whether it got a string or an s-expression and do the right thing. I can fix that if other people think it should be done. Noah On Thu, Jan 19, 2012 at 10:18 PM, Noah Lavine <noah.b.lav...@gmail.com> wrote: > I've run into trouble because of my problems building master. I'll > have to work around that, so it won't happen tonight. > > On Thu, Jan 19, 2012 at 8:54 AM, Noah Lavine <noah.b.lav...@gmail.com> wrote: >> Sorry for the delay. >> >> I haven't thought about the PEG stuff in a long time, but looking >> back, I'm pretty sure I didn't change the names yet. I will try to do >> it tonight (in GMT-5). I agree, it would be great to have the PEG >> stuff finished. >> >> On Thu, Jan 19, 2012 at 4:53 AM, Andy Wingo <wi...@pobox.com> wrote: >>> On Wed 04 Jan 2012 19:12, Andy Wingo <wi...@pobox.com> writes: >>> >>>> On Mon 03 Oct 2011 20:21, Noah Lavine <noah.b.lav...@gmail.com> writes: >>>> >>>>> I hate to make more work for people, but I think the PEG module is >>>>> almost ready for merging, and could probably be merged if we resolved >>>>> this names issue. Any other thoughts? >>>> >>>> Have you updated the wip-peg branch? I don't remember who is waiting >>>> for whom any more, but reviewing the threads, it seems that we generally >>>> agreed on some name changes here. >>> >>> A kind ping here :) It would be lovely to get the peg stuff in for >>> 2.0.5. >>> >>> Andy >>> -- >>> http://wingolog.org/