na nei: Difference between revisions

From Lojban
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 1: Line 1:


==  3rd Baseline ==
.i na nei - since the ''nei'' means that sentence, it seems to be negating itself. However, in [[jbocre: What does it mean?]], it was discussed that in fact it means ''"This sentence would be false without the na."'' This is related to the [[jbocre: A double negative remains negative gotcha|A double negative remains negative gotcha]].


The current official version of the Lojban machine grammar is the 3rd Baseline, available here in several formats:
Sans the na, the sentence is false. Sans the na, the sentence is ''.i nei'' - referring to the WHOLE sentence, na and all!
 
* [http://www.lojban.org/publications/formal-grammars/bnf.300.txt n Extended BNF format] (bnf.300)
* [http://www.lojban.org/publications/formal-grammars/grammar.300.txt n YACC format] (grammar.300)
 
* [http://www.lojban.org/publications/formal-grammars/techfix.300.txt s a change-by-change commentary] (techfix.300)
 
The Extended BNF and YACC grammars may be found in HTML format, with indexes for each tag, in [http://www.lojban.org/publications/reference_grammar/chapter21.html hapter 21 of the Lojban Reference grammar].  As the baseline grammar document, this is the most authoritative source.
 
If the BNF and YACC versions do not agree, the YACC takes precedence.
 
==  Proposed 4th Baseline ==
 
[[jbocre: .alyn.post.|.alyn.post.]] is working on a proposal for a 4th Baseline grammar. The 4th Baseline Lojban Machine Grammar will replace the [[jbocre: YACC|YACC]] and [[BNF|BNF]] grammars with a [[jbocre: PEG|PEG]] grammar.

Revision as of 17:06, 4 November 2013

.i na nei - since the nei means that sentence, it seems to be negating itself. However, in jbocre: What does it mean?, it was discussed that in fact it means "This sentence would be false without the na." This is related to the A double negative remains negative gotcha.

Sans the na, the sentence is false. Sans the na, the sentence is .i nei - referring to the WHOLE sentence, na and all!