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