camxes: Difference between revisions
Jump to navigation
Jump to search
(ciksi galfi) |
No edit summary |
||
Line 1: | Line 1: | ||
A Lojban parser (syntax analyzer) in Java by [[User:Robin Lee Powell|camgusmis]] and [[User:xorxes|xorxes]]. | A Lojban parser (syntax analyzer) in Java by [[User:Robin Lee Powell|camgusmis]] and [[User:xorxes|xorxes]]. | ||
* [http://www.digitalkingdom.org/~rlpowell/hobbies/lojban/grammar/index.html Web page | * [http://www.digitalkingdom.org/~rlpowell/hobbies/lojban/grammar/index.html Web page] | ||
* [http://www.digitalkingdom.org/~rlpowell/hobbies/lojban/grammar/lojban.peg.txt Lojban PEG Grammar] | * [http://www.digitalkingdom.org/~rlpowell/hobbies/lojban/grammar/lojban.peg.txt Lojban PEG Grammar] | ||
* [http://www.digitalkingdom.org/~rlpowell/hobbies/lojban/grammar/lojban_morphology.peg.txt Lojban PEG Morphology] | * [http://www.digitalkingdom.org/~rlpowell/hobbies/lojban/grammar/lojban_morphology.peg.txt Lojban PEG Morphology] | ||
Line 7: | Line 7: | ||
== Bug reports / requests == | == Bug reports / requests == | ||
*[[kpreid|kpreid]]: | *[[kpreid|kpreid]]: | ||
* | **{{vlapoi|ke|ko'a|ce|ko'e|ke'e|ce|ko'i}} does not parse. | ||
* | ***The parse tree for {{vlapoi|ke|ko'a|ce|ko'e|ke'e|ce|ko'i}} 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. | ||
* | ***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. |
Revision as of 09:01, 26 June 2015
A Lojban parser (syntax analyzer) in Java by camgusmis and xorxes.
Has been superseded by Masato Hagiwara's parser, and applied to la ilmentufa, la zantufa etc.
Bug reports / requests
- kpreid:
- ke ko'a ce ko'e ke'e ce ko'i does not parse.
- The parse tree for ke ko'a ce ko'e ke'e ce ko'i 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.
- 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.
- ke ko'a ce ko'e ke'e ce ko'i does not parse.