Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

Language spec

Values

Supported types are integers, strings, and boolean

Integers may start with a single minus sign and contain only numerical digits [0-9]

Strings are enclosed by double quotes (") and can contain any character other than double quotes

Boolean is either True or False

Variables can contain only characters from the alphabet [A-Za-z]

Comments start with #; no inline comments

# comment

print

n

assignment

n 1

math operators start with ¯\_(ツ)_/¯

addition

¯\_(ツ)_/¯ n 3

subtraction

¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ 3

multiplication

¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ 4

division

¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ 4

modulus

¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ 4

comparators start with ¯\_(ツ)_/¯ ¯\_(ツ)_/¯

equality

¯\_(ツ)_/¯ ¯\_(ツ)_/¯ n m

inequality

¯\_(ツ)_/¯ ¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ m

greater than

¯\_(ツ)_/¯ ¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ m

greater than or equal

¯\_(ツ)_/¯ ¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ m

less than

¯\_(ツ)_/¯ ¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ m

less than or equal

¯\_(ツ)_/¯ ¯\_(ツ)_/¯ n ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ m

conditional statements start with ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯

¯\_(ツ)_/¯ ¯\_(ツ)_/¯ ¯\_(ツ)_/¯ condition
 statement

Statement is indented by one more than conditional line. No alternate conditions (elif/else)