The grammar of Lojban is based on predicate logic. The majority of the grammar is borrowed from the prior "logical language" Loglan, and some of its features come from Láadan. The characteristic regularity, unambiguity, and versatility of Lojban grammar owes much to modern linguistics and computer programming—resources that were unavailable to the designers of earlier languages. Lojbanist Bob LeChevalier summarized one advantage of Lojban grammar as follows: "Lojban moves beyond the restrictions of European grammar. It overtly incorporates linguistic universals, building in what is needed to support the expressivity of the whole variety of natural languages, including non-European ones."
Formal grammars Lojban texts can be parsed just as texts in programming languages are by using formal grammars such as PEG, YACC, Backus–Naur form. There are several parsers available.
Phonology
Lojban has 6 vowels and 21 consonants. The phonemes are commensurate with graphemes, which means Lojban has 27 letters (lerfu) each corresponding to a unique phoneme. Lojbanic graphemes can vary in mode; this article employs the Latin alphabet version, which is currently in the most common usage (see Orthography for more detail). The phonemes, on the other hand, are defined solely according to the International Phonetic Alphabet. The tables below show typical realizations of sounds and the Latin alphabets in Lojban. In all cases except the rhotic consonant the first phoneme represents the preferred pronunciation, while the rest are the permitted variants intended to cover dissimilitude in pronunciation by speakers of different linguistic backgrounds.
Basic sounds Note that simple vowel graphemes are never diphthongized like in English. Diphthongs are always written with two vowel graphemes.
Diphthongs Lojban has 16 diphthongs, vowels that change quality during their emission but always being single syllable nuclei like pure vowels. Unlike English and similarly to languages such as Spanish, diphthongs are not distinct phonemes by themselves but are analyzed as a combination of "semi-vowel + vowel" (or the inverse order). The combinations <ai>, <au>, <ei> and <oi>, for instance, are all realized as the corresponding falling diphthongs. Triphthongs exist as combinations of a rising and a falling diphthong, e.g. <iau>.
Allophones The vowels can be either rounded or unrounded. The consonants can be either aspirated or unaspirated, although the voiceless stops /p/, /t/ and /k/ are usually aspirated to some degree. In general, consonants are not palatalized. The affricates /d͡ʒ/, /t͡ʃ/, /d͡z/, and /t͡s/ occur in Lojban (like in English jar, chair, fads, and cats.), but they are not distinct phonemes, contrary to English /d͡ʒ/ and /t͡ʃ/. Each is considered to be a combination of an appropriate stop and fricative phoneme: the sequences <dj>, <tc>, <dz> and <ts>, respectively. The rhotic sounds are all equally acceptable as an identical phoneme. ⟨l⟩, ⟨m⟩, ⟨n⟩, and ⟨r⟩ may be syllabic.
Buffering of consonant clusters For those who, given their native language background, may have trouble pronouncing (certain) consonant clusters, there is the option of inserting buffer vowels between them, as long as they differ sufficiently from the phonological vowels and are pronounced as short as possible. This mechanism can be described as a form of anaptyxis (vocalic epenthesis). Possible choices include [ɪ] , [ɨ], [ʊ] and [ʏ] (but not [y], which is the rounded counterpart of [i] and thus a valid realization of /i/). The resulting added syllables are completely ignored by the grammar, including for the purposes of stress determination.
Orthography Lojban may be written in different orthography systems as long as it meets the required regularities and unambiguities. Some of the reasons for such elasticity would be as follows:
Lojban is rather defined by the phonemes (spoken form of words), therefore, as long as they are correctly rendered so as to maintain the Lojbanic audio-visual isomorphism, a representational system can be said to be an appropriate orthography of the language; Lojban is meant to be as culturally neutral as possible, so it is never crucial or fundamental to claim that some particular orthography of some particular languages (e.g. the Latin alphabet) should be the dominant mode. Lojbanist Kena extends this principle to argue that even an original orthography of the language is to be sought.
Latin/Roman mode Lojban's Latin alphabet consists of 23 lerfu a b c d e f g i j k l m n o p r s t u v x y z plus 3 semi-lerfu ' , . which are used. They are intentionally ordered in accordance with that of ASCII characters. Capitalization may be applied to mark a non-standard stressed syllable as in cmevla, but they are not considered separate lerfu. Whether a single vowel or the entire syllable is capitalized is a matter of preference; for example, the name "Josephine" can be rendered as either DJOzefin. or djOzefin. (without the capitalization, the ordinary rules of Lojban stress will cause the 'ze' syllable to be stressed instead). Punctuation marks are not mandatory; such notions as question or exclamation are expressed with words rather than unpronounced symbols.
Cyrillic mode This mode was conceived when the introductory Lojban brochure was translated into Russian. 23 lerfu а б в г д е ж з и к л м н о п р с т у ф х ш ъ plus 3 semi-lerfu ', . are used. The hard sign ъ is assigned to the open-mid vowel (as in Bulgarian). Diphthongs are written as vowel pairs, as in the Roman mode.
Tengwar mode Kena argues for writing Lojban using Tengwar, arguing that:
the Latin alphabet is too strongly related to Western civilizations, and thus probably introduces some kind of cultural bias in Lojban. Lojban wants to be both logical and culturally neutral, the Tengwar already are; the Tengwar system inherently contains some main Lojban morphology rules, making Lojban easier to learn when it is written with Tengwar. Advocates of this mode include Eric S. Raymond.
Zbalermorna mode
… excerpt ends here. Continue reading the full article.


