Plexia
A toy language made in a couple of hours (with no external dependencies) :D
Check out my YouTube video demo: https://www.youtube.com/watch?v=2UXqebnB900
Specs
Full specifications are at specs.md
Usage
Note: Plexia doesn't respect BEDMASS (brackets, exponents, division, multiplication, adding, subtracting).
You can create an interactive shell by running:
$ python shell.py
You can run files by running:
$ python main.py file.plexia
Error Example:
----------------------------
SyntaxError (on <module>)
Invalid Syntax: No value after equals sign (=)
----------------------------
Exiting program...
Calculations:
calc 1 + 1 * 2
Comments:
# This is a comment
Creating variables:
variable = 10 + 10
Outputing something to the standard output:
print $variable / 2
Strings:
print "Hello World!"
string = "Hi Mom!"
print $string