A simple, lisp-like, and functional language for experimenting with making a language.
Variables are declared on the stack, declaring one can be done with the =
function.
Variables are marked as being constant upon being assigned, and cannot be reassigned again within the current function.
The assignment function takes two arguments, name:String
and value:Any
. Since it's just a function, you can pass in a variable for the name to have dynamically resolved names within the current scope.
Assigning to a variable example:
(= "someNumber" 1337)
Acessing variables within the scope chain can be done by using the @
function. It takes