Category:Arturo: Difference between revisions
Content deleted Content added
Drkameleon (talk | contribs) |
Drkameleon (talk | contribs) No edit summary |
||
Line 16:
====Everything is a simple statement====
There are no "special" language constructs (
<br>
====Code is data - and data is code====
Line 32:
====Uniform syntax====
There are 3 types of statements.
- Simple statements, that work as a function call in the form of <code>ID <expressions></code>
- Expressions (Yes, <code>1+2</code> is also a valid statement)
- Labeled statements (see: assignments) like <code>a: 2</code>
▲* Do you want to use the result of a function call as part of an expression? Just enclose the function call in <code>$(...)</code> E.g.: <code>print $(reverse #(1 2 3))</code>
===Implementation===
|