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

Re: [lojban] PEG confusion



Sorry for stupid questions (I haven't looked at the code). Is camxes based on initial BNF parser, just adapted?
Or was it written from scratch?


On Thursday, January 3, 2013 2:21:34 AM UTC+4, Robin Powell wrote:
On Wed, Jan 02, 2013 at 03:08:50PM -0700, Jonathan Jones wrote:
> On Wed, Jan 2, 2013 at 3:05 PM, Robin Lee Powell <
> rlpo...@digitalkingdom.org> wrote:
>
> > On Wed, Jan 02, 2013 at 02:27:12PM -0700, Jonathan Jones wrote:
> > > On Wed, Jan 2, 2013 at 2:07 PM, .alyn.post.
> > > <alyn...@lodockikumazvati.org>wrote:
> > >
> > > > I'd like mine to be the official one.  It requires more work on
> > > > my end yet before I consider it in good enough shape to submit
> > > > as a proposal.
> > > >
> > > > There are not substantive differences, right now, between
> > > > jbogenturfa'i and camxes.  The files are different at the
> > > > bit-level, but the parser level produces the same result.  Robin
> > > > and I have shared patches as errata have come up.
> > > >
> > > > The grammars will diverge when I merge my magic-word work.  I
> > > > got burned out on that effort last year and have been trying to
> > > > restart it.  It is standing in the way of other work I'd also
> > > > like to do. So far life keeps intervening.
> > > >
> > >
> > > You mean, because you'll /have/ magic-word parsing, which no other
> > > parser has as of yet?
> >
> > camxes most certainly *does* have magic word parsing:
> >
>
> Well, si is easy. IIRC, sa and su aren't working in jbosku or .camxes., and
> there are some magic word combos that aren't worked out either, like zo si
> (although I'm sure zo si is worked out to be: zo si = "si", zo si si = "".)

The problem is that the CLL's explanations of magic words *cannot*
be reconciled; there are direct contradictions.  "su" is, in fact,
working, and while sa isn't perfect, it works too:

rlpowell@stodi> echo 'mi klama lo klama sa le sutra' | camxes
text
   sentence
   |- CMAVO
   |     KOhA: mi
   |- bridiTail3
      |- BRIVLA
      |     gismu: klama
      |- sumti6
         |- CMAVO
         |     LE: le
         |- BRIVLA
               gismu: sutra

http://www.lojban.org/tiki/Magic+Words encodes the decisions I made
in camxes; in some places camxes doesn't actually do what that page
says, and in some places even with how detailed that page tried to
be it's *still* incomplete.  That's why aisa is working on it.

-Robin

--
You received this message because you are subscribed to the Google Groups "lojban" group.
To view this discussion on the web visit https://groups.google.com/d/msg/lojban/-/eTfCbDn0Fs0J.
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.