Please sign in to comment.
added functions and a short description
- Loading branch information...
Showing with 411 additions and 323 deletions.
|@@ -1,7 +1,19 @@|
|The Mocca Programming Language|
|-Too early for a precise description ;) See index.html for a few code|
|-samples. Basically it´s quite easy to get started: include mocca-lang.js|
|-and type your code in text/mocca script blocks.|
|+Actually to early for a precise description, but try it nonetheless:|
|+* int, boolean and function data types|
|+* expression evaluation respective correct precedence and associativity|
|+* variable definitions and usage in expressions|
|+* lexical scoping|
|+* functions behave like closures|
|+* a function call returns the last statement per default|
|+* a few semantic runtime checks|
|+No flow control structures atm.|
|+See index.html for a few code samples. Basically it´s quite easy to get started: include mocca-lang.js and type your code in text/mocca script blocks.|
Oops, something went wrong.