pelirodri / LaWea

A programming language by a Chilean, for Chileans

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

La Weá

La Weá is a Turing-complete esoteric programming language consisting of 16 commands, each represented by a highly colloquial term in Chilean Spanish. Commands must be separated; extra whitespaces and newlines are ignored; single-line comments are preceded by a #.

Command Description
maricón Decrements current cell value by 1.
maraco Decrements current cell value by 2.
weón Increments current cell value by 1.
aweonao Increments current cell value by 2.
maraca Sets current cell value to 0.
chucha Moves back one cell.
puta Moves forward one cell.
pichula If current cell value is 0, moves the instruction pointer after the matching tula command.
tula If current cell value is not 0, moves the instruction pointer after the matching pichula command.
pico Moves the instruction pointer after the closest tula command, regardless of the current cell value.
ctm Prints current cell value to STDOUT as an ASCII character.
quéweá Reads ASCII character from STDOUT and stores it in the current cell.
chúpala Prints current cell value to STDIN as an integer.
brígido Reads integer from STDIN and stores it in the current cell.
perkin Copies current cell value if there is no copy; otherwise, pastes the copied value and resets the copy.
mierda Terminates program.

WebAssembly-based online interpreter: https://laweáinterpreter.app

Note: C/C++ interpreters must be compiled with Clang.

About

A programming language by a Chilean, for Chileans

License:GNU General Public License v3.0


Languages

Language:C 46.0%Language:C++ 26.0%Language:Swift 15.1%Language:TypeScript 8.0%Language:Vue 2.1%Language:CMake 1.5%Language:HTML 0.8%Language:SCSS 0.5%