Next: , Previous: Introduction, Up: Top


2 The language

Enigma consists of functions. Any file being parsed is a function. Within functions there can be local variables. These variables are to disappear when the function exits.

Functions have return values. These values can be determined by the programmer.

Within functions, there are commands. These commands constitute the very base of Enigma. Commands can interact with built-in functions, meaning that writing to and reading from files, calculating, as well as manipulating strings and lists, is possible.

There are no simple types. Enigma lies in the world of objects. Numbers, strings, lists.. It's just objects. Also, all commands must end with a semicolon;