DIACRITIC

From Esolang
Jump to navigation Jump to search

DIACRITIC is a language by User:ChuckEsoteric08, that has diacritics as commands and based on ABCDXYZ

Description

It has 2 variables that hold integers and 1 variable that hold string. Commands are diffirent in states. There is three of them:

  • A
  • I
  • U

Initial State is A.

Commands

Command Name A I U
̀ low increment variable 1 increment variabe 2 add symbol 1 to end of a string
̄ long decrement variable 1 decrement variable 2 add symbol 0 to end of a string
̃ nasal Switch State to State 2 Switch State to State 3 Switch State to State 1
̥ voiceless Start a while loop until variable 1 become zero Start a while loop until variable 2 become zero Start a while loop until number of 1 and 0 will be equal
̬ voiced End loop End loop End loop
̩ syllabic NOP NOP ask for input
́ high NOP NOP print input

Examples

Infinity loop

 ̥̬̀

By using names:

low
voiceless
voiced

Cat

̥̩̃̃́

By using names:

nasal
nasal
voicless
syllabic
high
voiced

Computational class

It is possible to translate every ALWCIDFEC program in it

ALWCIDFEC DIACRITIC By using names
+ ̀ low
* ̃̀̃̃ nasal, nasal, low
4 ̃̃̀̃ nasal, nasal, nasal, low
-, /, 1 Like +, *, 4, but long instead of low
[, (, { Like +, *, 4, but voiceless instead of low
], ), } Like +, *, 4, but voiced instead of low

External resources

Site where you can type diactritics used in the language]