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

Re: [bpfk] Improvements to fragments in ilmentufa parser




On Sat, Mar 28, 2015 at 1:10 PM, Gleki Arxokuna <gleki.is.my.name@gmail.com> wrote:
2015-03-28 1:21 GMT+03:00 Jorge Llambías <jjllambias@gmail.com>:

A presentation of the grammar without the _javascript_ would make it much more readable for me.

You mean you don't like those "expr:(" ?

I don't, I can't very easily read the grammar with those in. I understand how it's useful to have the parser give labeled outputs, but it's also useful to have a clean version of the grammar to look at. I suppose there must be some tool that can strip all the _javascript_ and present the grammar in pure form, but I wouldn't know how to find it or how hard it would be to make one.
 
For me it's a very minor issue. A larger one might be if you don't have an opportunity to input a peg and test sentences and get output anytime you want. E.g. if you can't install something you may ask Robin to give you access to la vrici server and then using tty.js get web access to ssh and then node.js and camxes.js. Let me know of any difficulties.

First I'd need to learn what "tty.js", "ssh", "node.js" and "camxes.js" mean. Remember that I'm not a computer scientist.

Well, really you need to tell me _javascript_ litter really stops you from working on PEG. Tastes differ, if it stops you I'll think what can be done.

na fanta gi'e ja'a zunti

Connectives as replies to {ji} questions are interesting. I suppose current camxes.js could be cured  to support that. Do you have an algorithm in mind on how to restore such sentences? Obviously {zo'e je zo'e cu co'e} is not a good restoration. I'd like copying sentences with {ji} and replacing {ji} with connectives. This also requires working with {go'i}.

- do ji mi nelci
- e = > do e mi nelci

- xu do nelci
- go'i => mi nelci

A: - mi nelci
B: - go'i ra'o => {mi nelci} or {by nelci} or {by cusku lo se du'u by. nelci}

Any other test sentences? 

But this is all done outside of PEG, right? It's about handling multiple inputs to PEG, and modifying the output from one, based on the output from another, if I understand correctly. You also have to consider which "ji" can be replaced and which can't, for example if it's inside a quote, or what happens when more than one (or no) "ji" is present. All interesting questions, but not directly related to the the PEG, I think.

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.