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

Re: [bpfk] Improvements to fragments in ilmentufa parser



Okay, I implemented them here:
http://vrici.lojban.org/~gleki/mediawiki-1.19.2/extensions/ilmentufa/ircbot/naxle.html

The grammar is still here in this "ugly" _javascript_ format but I have no problems adding your suggestions there: https://github.com/Ilmen-vodhr/ilmentufa/blob/master/camxes-exp.js.peg

You may safely continue using original peg format since as I can assume you can test it as well.


2015-04-02 14:58 GMT+03:00 Jorge Llambías <jjllambias@gmail.com>:


On Wed, Apr 1, 2015 at 8:22 PM, Jorge Llambías <jjllambias@gmail.com> wrote:
You should reverse the order of fragment and statement to (fragment / statement), so that fragment is tested first, but also remove from fragment all the fragments that are now proper statements. So I think you'd only be left with:
  fragment <- ek free* / quantifier / relative-clauses / links / linkargs

Or maybe:

  fragment <- ek free* / !term !tag quantifier / relative-clauses / links / linkargs

otherwise the "pa" in "pa ko'a" and "pa roi" would be absorbed as a fragment.

mu'o mi'e xorxes

--
You received this message because you are subscribed to the Google Groups "BPFK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bpfk-list+unsubscribe@googlegroups.com.
To post to this group, send email to bpfk-list@googlegroups.com.
Visit this group at http://groups.google.com/group/bpfk-list.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BPFK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bpfk-list+unsubscribe@googlegroups.com.
To post to this group, send email to bpfk-list@googlegroups.com.
Visit this group at http://groups.google.com/group/bpfk-list.
For more options, visit https://groups.google.com/d/optout.