camxes: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
A Lojban parser in Java by [[jbocre: camgusmis|camgusmis]] and [[User:xorxes|xorxes]]. | |||
[http:// | * [http://www.digitalkingdom.org/~rlpowell/hobbies/lojban/grammar/index.html eb page.] | ||
* [http://www.digitalkingdom.org/~rlpowell/hobbies/lojban/grammar/lojban.peg.txt ojban PEG Grammar] | |||
* [http://www.digitalkingdom.org/~rlpowell/hobbies/lojban/grammar/lojban_morphology.peg.txt ojban PEG Morphology] | |||
== Bug reports / requests == | |||
* "ke ko'a ce ko'e ke'e ce ko'i" does not parse. —[[jbocre: kpreid|kpreid]] | |||
* The parse tree for "ko'a ce ke ko'e ce ko'i ke'e" is unnecessarily hard to process, as it contains the ke/ke'e brackets in the same parent node (sumti1) as the elements of the outer list; the (somewhat postprocessed) output in TermL syntax is sumti1(sumti2, joikEk, KE, sumti, KEhE); it would be preferable for the last three elements to have a subnode to themselves. —[[jbocre: kpreid|kpreid]] | |||
* Non-Lojban words in ZOI quotes yield invalid TermL: "zoi zoi $ zoi" contains innerWord( $ ) when it should be innerWord( "$" ). 'zoi zoi " zoi' is probably another useful test case. —[[jbocre: kpreid|kpreid]] | |||
Revision as of 16:45, 4 November 2013
A Lojban parser in Java by camgusmis and xorxes.
Bug reports / requests
- "ke ko'a ce ko'e ke'e ce ko'i" does not parse. —kpreid
- The parse tree for "ko'a ce ke ko'e ce ko'i ke'e" is unnecessarily hard to process, as it contains the ke/ke'e brackets in the same parent node (sumti1) as the elements of the outer list; the (somewhat postprocessed) output in TermL syntax is sumti1(sumti2, joikEk, KE, sumti, KEhE); it would be preferable for the last three elements to have a subnode to themselves. —kpreid
- Non-Lojban words in ZOI quotes yield invalid TermL: "zoi zoi $ zoi" contains innerWord( $ ) when it should be innerWord( "$" ). 'zoi zoi " zoi' is probably another useful test case. —kpreid