.i lo lojbo ke pe'a jajgau ratcu ke'e genturfa'i
jbogenturfa'i is a parser for the Lojban language.
Note that this egg has not yet been written.
Requires genturfa'i, a scheme packrat parser.
The source code for this egg can be viewed by version:
A copy of this project is also hosted on github:
There are multiple grammar definitions and parsers available for Lojban.
The official grammar is written in YACC. This grammar is the only one endorsed by the Logical Language Group, and represents the official grammar of the language.
As the YACC parser is difficult to read, there is also a BNF grammar file. Where this file differs from the YACC file, the YACC file takes precedence. The BNF file is easier to understand.
Since publishing the official grammar, Brian Ford coined the modern terms PEGs and packrat parsing, and other people took up the work of developing PEG parsers.
PEG parsers hold the promise of specifying the full grammar of Lojban, including the morphology, in a language (PEG) that is easy to understand by humans.
Robin Lee Powell has published "Issues With The Lojban Formal Grammar" discussing the ways in which the YACC and BNF grammar are not suitable for Lojban, and proposes using a PEG-specified grammar to parse Lojban.
This work culminated in the released of camxes, a parser for Lojban's PEG grammar written in Java.
jbogenturfa'i uses the morphology and grammar file developed for camxes.
- Write this program.
- Add the grammar parsed by this egg to the List of all variants of the PEG grammar.
- C interface for grammar parsing. (For integration with other systems and languages.
- camxes is a Lojban parser written in Java.
- jbofi'e is a Lojban parser using the BNF grammar.
- jbonminji is a Lojban parser for Common Lisp.
Copyright (c) 2010 ".alyn.post." <firstname.lastname@example.org> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- Initial release.