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

Re: [bpfk] Improvements to fragments in ilmentufa parser





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


On Thu, Apr 2, 2015 at 11:45 AM, Gleki Arxokuna <gleki.is.my.name@gmail.com> wrote:
2015-04-02 17:22 GMT+03:00 Jorge Llambías <jjllambias@gmail.com>:

I would expect it to restore "pa roi" to "pa roi ku cu co'e vau", like it does for "ca", and similarly "pa ko'a" to "pa ko'a cu co'e vau", like it does for "ko'a". I don't know yet why it doesn't.

Please, note that the two pegs can differ. it's an experimental grammar that accumulated a lot of changes by ilmen, durka, me and others.

Aaargh, I think I know what it may be. "term" seems to be no longer in use, we need !abs_term instead of (or in addition to?) !term in the fragment rule (you also need to reverse the order of fragment and statement in the second part of the rule, after the connectives).

I have to go now, I will study more the experimental grammar later.

mu'o mi'e xorxes

There was a bug when editing this string:
fragment = expr:(ek free* / !term !tag quantifier / relative_clauses / links / linkargs) {return _node("fragment", expr);}

{reroi} is indeed parseable.

I thought you used your tool to test your copy of PEG.
But if we stick to this camxes-exp.js.peg then I can only suggest that I create a web tool where you input this _javascript_ PEG, press "compile" and then get a working parser. Do you need it? Will it accelerate the development?

 

--
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.