[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lojban] NORATS, SPACE, and PUBLIC in PEG grammar



On Tue, Nov 23, 2010 at 10:10:27AM -0800, Robin Lee Powell wrote:
> On Tue, Nov 23, 2010 at 11:06:16AM -0700, .alyn.post. wrote:
> > What do the NORATS, SPACE, and PUBLIC statements mean in the
> > Lojban PEG grammar?
> > 
> > They are prefixes to non-terminal statements which I haven't
> > encountered in other PEG files.
> 
> They're used by
> http://www.digitalkingdom.org/~rlpowell/hobbies/lojban/grammar/rats/peg2rats.pl
> to create the actual Rats! grammar.  It's all a horrible hack, and
> someone should really write something better now that there are
> other decent PEG parser generators around.

To be clear there: the point was that someone making their own
parser could just strip those tags out.  I didn't want there to be
any Rats!-specific stuff in the grammar if I could avoid it.

-Robin

-- 
http://singinst.org/ :  Our last, best hope for a fantastic future.
Lojban (http://www.lojban.org/): The language in which "this parrot
is dead" is "ti poi spitaki cu morsi", but "this sentence is false"
is "na nei".   My personal page: http://www.digitalkingdom.org/rlp/

-- 
You received this message because you are subscribed to the Google Groups "lojban" group.
To post to this group, send email to lojban@googlegroups.com.
To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lojban?hl=en.