camxes: Difference between revisions

From Lojban
Jump to navigation Jump to search
No edit summary
m (Text replace - "jbocre: k" to "k")
Line 6: Line 6:
Has been superseded by [[La Bangu: ilmentufa|Masato Hagiwara's parser]].
Has been superseded by [[La Bangu: ilmentufa|Masato Hagiwara's parser]].
== Bug reports / requests ==
== Bug reports / requests ==
*[[jbocre: kpreid|kpreid]]:
*[[kpreid|kpreid]]:
*:"ke ko'a ce ko'e ke'e ce ko'i" does not parse. —
*:"ke ko'a ce ko'e ke'e ce ko'i" does not parse. —
*: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.
*: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.
*: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.
*: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 12:03, 23 March 2014

A Lojban parser (syntax analyzer) in Java by camgusmis and xorxes.

Has been superseded by Masato Hagiwara's parser.

Bug reports / requests

  • kpreid:
    "ke ko'a ce ko'e ke'e ce ko'i" does not parse. —
    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.
    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.