grammar: Difference between revisions

From Lojban
Jump to navigation Jump to search
m (Text replace - "jbocre: ([A-K])" to "$1")
(cakyrespa, lojysamban)
 
(11 intermediate revisions by 3 users not shown)
Line 5: Line 5:
===  History ===
===  History ===
===  Official Grammar ===
===  Official Grammar ===
* [[jbocre: 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: [[jbocre: PEG|PEG]]
===  Implementations of a Lojban grammar ===
===  Implementations of a Lojban grammar ===
* [[jbocre: 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 ===
The following pages contain technical details and discussion concerning Lojban's grammar:
The following pages contain technical details and discussion concerning Lojban's grammar:
* [[jbocre: 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 ===
* [[jbocre: Morphology|Morphology]]
* [[Morphology|Morphology]]
* [[jbocre: Typography|Typography]]
* [[typography|Typography]]


* [[jbocre: Semantics|Semantics]]
* [[semantics|Semantics]]
* [[Dictionary|Dictionary]]
* [[Dictionary|Dictionary]]


* [[jbocre: Terminology|Terminology]]
* [[Terminology|Terminology]]
* [[jbocre: Lojban in perspective|Lojban in perspective]]
* [[Lojban in perspective|Lojban in perspective]]


===  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]]


* [[jbocre: MEX grammar proposal|MEX grammar proposal]]
* [[MEX grammar proposal|MEX grammar proposal]]
* [[jbocre: NFA|NFA]]
* [[NFA|NFA]]


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


* [[jbocre: LR|LR]]
* [[LR|LR]]
* [[jbocre: LALR(1) grammar]]
* [[LALR(1) grammar]]


* [[jbocre: Lojban and Computer Science|Lojban and Computer Science]]
* [[Lojban and Computer Science|Lojban and Computer Science]]
* [[jbocre: Number subgrammar|Number subgrammar]]
* [[Number subgrammar|Number subgrammar]]


* [[Annotated machine grammar|Annotated machine grammar]]
* [[Annotated machine grammar|Annotated machine grammar]]
Line 58: Line 50:
* [[elidable terminator|elidable terminator]]
* [[elidable terminator|elidable terminator]]


* [[jbocre: WordResolutionAlgorithm|WordResolutionAlgorithm]]
* [[WordResolutionAlgorithm|WordResolutionAlgorithm]]

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