|
|
|
@ -2,15 +2,14 @@
|
|
|
|
|
My computer programming language made with LEX/YACC written in C. (interpreted)
|
|
|
|
|
|
|
|
|
|
# Downloads
|
|
|
|
|
<hr/>
|
|
|
|
|
Supported operating systems and downloads:
|
|
|
|
|
|
|
|
|
|
* Win-32: <a href=""/>download</a>
|
|
|
|
|
* Win-64: <a href=""/>download</a>
|
|
|
|
|
* Linux-32: <a href=""/>download</a>
|
|
|
|
|
* Linux-64: <a href=""/>download</a>
|
|
|
|
|
* [Win-32 Download]()
|
|
|
|
|
* [Win-64 Download]()
|
|
|
|
|
* [Linux-32 Download]()
|
|
|
|
|
* [Linux-64 Download]()
|
|
|
|
|
|
|
|
|
|
# Hello World.
|
|
|
|
|
<hr/>
|
|
|
|
|
Hello world in Deon.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
@ -22,7 +21,6 @@ call main;
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
# Variables
|
|
|
|
|
<hr/>
|
|
|
|
|
* Variables support "type juggling" where types are assumed at runtime.
|
|
|
|
|
* Variables can be assigned to each other even if they are different types.
|
|
|
|
|
|
|
|
|
@ -81,12 +79,11 @@ call main;
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
# Logic
|
|
|
|
|
<hr/>
|
|
|
|
|
* while loops are if statements
|
|
|
|
|
* As of version 0.9.5, logic conditions must only be variables.
|
|
|
|
|
|
|
|
|
|
### If statements
|
|
|
|
|
As stated above, if statement conditions must be a variable.
|
|
|
|
|
* As stated above, if statement conditions must be a variable.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
def main:
|
|
|
|
@ -138,6 +135,7 @@ call my_function;
|
|
|
|
|
# Redefinitions
|
|
|
|
|
* As of v0.9.5 everything in this programming language can be redefined. That means everything, including the function that
|
|
|
|
|
is currently being executed.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
def main:
|
|
|
|
|
{
|
|
|
|
|