You are looking at historical revision 21266 of this page. It may differ significantly from its current revision.

jbogenturfa'i

.i lo lojbo ke pe'a jajgau ratcu ke'e genturfa'i

Description

jbogenturfa'i is a parser for the Lojban language.

Note that this egg has not yet been written.

Authors

.alyn.post.. The morphology file used by this parser was written by .xorxes. The grammar file used by this parser was translated and modified from the official grammar by Robin Lee Powell.

Requirements

Requires genturfa'i, a scheme packrat parser.

Source Code

The source code for this egg can be viewed by version:

A copy of this project is also hosted on github:

Salmonella Report

The Salmonella Report shows the result from the current nightly build.

History

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.

http://www.lojban.org/tiki/tiki-index.php?page=Robin+Lee+PowellRobin 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 PEG 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.

Wish List

License

Copyright (c) 2010 ".alyn.post." <alyn.post@lodockikumazvati.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.

Version History

0.0.1
Initial release.