Update README.md

master
xerox 5 years ago
parent 92f790f084
commit 5e8e516312

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

Loading…
Cancel
Save