[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lojban] Re: Annotated PEG grammar
On Sat, Nov 15, 2008 at 21:08, Stephen Pollei <stephen.pollei@gmail.com> wrote:
> On 11/15/08, Chris Capel <pdf23ds@gmail.com> wrote:
>> I throw out all the sa and magic word stuff, and delete all of the
>> morphology interface, which handles UI and some other stuff. (That
>> involves cutting off the "-clause"s, which are only necessary because
>> of the morphology stuff.)
>
> Well the clause stuff is what handles the ui and ba'e stuff as well
> which I don't count as a morpholgy interface issue at all. To me the
> morph interface stuff is the different stuff prefixed by NORATS or has
> &{ .. } . I also think the magic word stuff is a pretty important part
> of the whole system.
No doubt they're important, but the goal of my document is to provide
an overview of how lojban works from the perspective of its grammar. I
think the -clause details and magic words would distract too much from
that purpose. I don't plan on filling out mesko either. (But someone
can contribute descriptions if they like.)
> I do think that the whole foo-clause stuff could use some real clean up.
> A lot of it is schematic and those should likely be collected into one
> place, and the things which get special handling should all be grouped
> together; right now it's all mixed together by just using an alphabetic
> order.
I don't think it can be done in pure PEG, alas. Perhaps a source file
that generates a peg could be created. :) The source file could also
output a Rats! version that would be more compact and efficient than
the current version, which is quite huge dll-wise.
> I also thank you for your efforts, I think it will be very helpful.
Thanks. Most helpful as an adjunct to Lojgloss, which shows the
production names as part of its interface. (Work on Lojgloss is
progressing, by the way. I hope to have a new web version, with
parsing support, available within a few weeks.)
Chris Capel
--
"What is it like to be a bat? What is it like to bat a bee? What is it
like to be a bee being batted? What is it like to be a batted bee?"
-- The Mind's I (Hofstadter, Dennet)
To unsubscribe from this list, send mail to lojban-list-request@lojban.org
with the subject unsubscribe, or go to http://www.lojban.org/lsg2/, or if
you're really stuck, send mail to secretary@lojban.org for help.