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

Re: [lojban] Higher-precedence Grouping with {bo} Is Impossible for TAG Sentence Connectives






On Sat, May 11, 2013 at 10:37 PM, Jacob Errington <nictytan@gmail.com> wrote:

It just seems like multiple {bo} is illegal across the board. Bug or feature? Could this even be implemented? If it can, should we?


I can see two ways of implementing it in PEG (or BNF):

(1) Define an upper limit on the number of grouping precedences you would allow. Then it's just a matter of adding a new rule for each level you want for each type of connective. If you decide 100 bo is the maximum then 101 bo will be ungrammatical.

(2) Require of the parser that it just tells you whether the text is grammatical or not, but not ask that it return the "right" parse tree. Then you can allow as many bo as you want, but the parse won't always give the correct grouping.

Neither of the two seem worth it for a feature that would probably never be used in any case.

mu'o mi'e xorxes

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