Update README.md

master
xerox 5 years ago
parent 92f790f084
commit 5e8e516312

@ -12,6 +12,7 @@ Linux-64: <a href=""/>download</a>
# Hello World.
<hr/>
Hello world in Deon.
```
def main:
{
@ -24,6 +25,7 @@ call main;
<hr/>
- Variables support "type juggling" where types are assumed at runtime.
- Variables can be assigned to each other even if they are different types.
```
/* main function */
def main:
@ -41,9 +43,11 @@ def main:
};
call main;
```
# Expressions
- As ov v0.9.5 expressions are only supported for int types, I need to recode the entire expression parsing system
to support up to doubles.
```
def main:
{
@ -56,6 +60,7 @@ call main;
# Scope
- As of v0.9.5 there is not scope inside of this programming language.
```
/* changes var from 10 to 100 */
def another_function:

Loading…
Cancel
Save