grammar: Difference between revisions

From Lojban
Jump to navigation Jump to search
m (Text replace - "jbocre: ([A-Z])" to "$1")
(cakyrespa, lojysamban)
 
(9 intermediate revisions by 3 users not shown)
Line 7: Line 7:
* [[Lojban Formal Grammars|Lojban Formal Grammars]]
* [[Lojban Formal Grammars|Lojban Formal Grammars]]
* [[BPFK Section: Formal Grammar]], a proposal to define the Lojban formal grammar in PEG.
* [[BPFK Section: Formal Grammar]], a proposal to define the Lojban formal grammar in PEG.
===  PEG ===
===  [[PEG]] ===
[[jbocre: .alyn.post.|.alyn.post.]] is working on a proposal for a 4th baseline for the Lojban machine grammar, replacing the YACC specification with PEG.
 
Main Article: [[PEG|PEG]]
===  Implementations of a Lojban grammar ===
===  Implementations of a Lojban grammar ===
* [[Official Parser|Official Parser]]
* [[Official Parser|official parser]]
* [[camxes|camxes]]
* Other syntactic parsers: [[jbofi'e|jbofi'e]], [https://github.com/baban/genturfahi genturfa'i], [[camxes|camxes]], [http://masatohagiwara.net/camxes.js/ camxes.js], [[la ilmentufa]], [[jbogenturfa'i|jbogenturfa'i]], [[zantufa]].
 
* Semantic parsers: [[la tersmu|la tersmu]], [https://hackage.haskell.org/package/cakyrespa la cakyrespa (Run turtle like LOGO with lojban)], [https://hackage.haskell.org/package/lojysamban la lojysamban (Prolog with lojban)].
* [[jbogenturfa'i|jbogenturfa'i]]
* [[jbofi'e|jbofi'e]]


===  Detailed Discussion ===
===  Detailed Discussion ===
Line 22: Line 17:
* [[Magic Words|Magic Words]]
* [[Magic Words|Magic Words]]
* [[gerna tecyvla|gerna tecyvla]]
* [[gerna tecyvla|gerna tecyvla]]
===  Further Reading ===
* [[Grammar errata|Grammar errata]]
===  See Also ===
===  See Also ===
* [[Morphology|Morphology]]
* [[Morphology|Morphology]]
* [[Typography|Typography]]
* [[typography|Typography]]


* [[Semantics|Semantics]]
* [[semantics|Semantics]]
* [[Dictionary|Dictionary]]
* [[Dictionary|Dictionary]]


Line 37: Line 29:
===  Uncategorized Material ===
===  Uncategorized Material ===
The following material relates to Lojban's grammar but has not yet been reviewed for curation:
The following material relates to Lojban's grammar but has not yet been reviewed for curation:
* [[zasni gerna|zasni gerna]]
* [[The Crash Course in Lojban]]
* [[zasni gerna|zasni gerna]] - a new proposed grammar
** [[zasni gerna cenba vreji|zasni gerna cenba vreji]]
** [[zasni gerna cenba vreji|zasni gerna cenba vreji]]


Line 43: Line 36:
* [[NFA|NFA]]
* [[NFA|NFA]]


* [[context free grammar|context free grammar]]
* [[CFG|CFG]] - context free grammar
* [[CFG|CFG]]


* [[LR|LR]]
* [[LR|LR]]

Latest revision as of 23:47, 18 May 2016

Lojban has an unambiguous grammar based on the principles of logic. This grammar is a fundamental part of what makes Lojban the language it is. As a consequence, it has received careful study and criticism.

An unambiguous grammar is formal and regular. There is a single, unambiguous structure (called a parse tree) resulting from any text. Lojban grammar does not specify semantics. The meaning of any particular parse tree is outside the scope of the grammar.

History

Official Grammar

PEG

Implementations of a Lojban grammar

Detailed Discussion

The following pages contain technical details and discussion concerning Lojban's grammar:

See Also

Uncategorized Material

The following material relates to Lojban's grammar but has not yet been reviewed for curation:

  • CFG - context free grammar