User:KapitanGamer/sandbox
Tyr is an esoteric programming language and constucted language at once, created by Reddit user porki11.
What is this?
This is an experimental minimalistic language. It's meant to be both a programming language and a conlang. Programmers should think of it as a speakable programming language. Conlangers should see it as a logical conlang, which can also be used for programming. To achieve this, this language has clear and simple nesting rules based on the words, but no syntax for nesting. You can write sentences without the need of indentation. Any kind of indent is not even allowed. It's still in an early stage and only supports a few math primitives. Many things will probably be changed.
Language
Phonology and phonotactics
You can skip this section if you are esolanger.
Vowels: a, i, u Consonants: v /w/, j, l, m, n, f, s, z /ʃ/, h /x/, b, c /g/, d Plosives (b, c, g) can be voiced or unvoiced.
Each word is a single syllable with the following structure:
- Optional stop - b, c, g
- Optional fricative - f, s, z, h
- Optional nasal or liquid - m, n, l
- Required vowel - a, i, u
- Optional approximant or liquid - v, j, l
- Optional fricative or nasal - f, s, z, h, m, n
Format syntax
Text/program can be splitted into sequences using separators ,;:.!?
.
Words are separated by a phonotactics. Consonants alwals belong to following word. Except, if there is a stop inside a sequence of consonants, the consonants before the stop will belong to the previous word. For example, if the sentence is livan
, then it represents to words: li van
. But if a sentence contains stops like andavan
it represents these two words: an da van
.
In order to delimit words manually, it's possible to use delimiters. Delimiters can be a whitespace, a newline or an apostrophe ('
). It's not allowed to use multiple consecutive delimiters. After a separator, there always needs to be exactly one delimiter.
External links
Gitlab implementation: www.gitlab.com/Tyre/tyr