Kajetan Johannes Hammerle
|
59e60655a1
post increment
|
3 years ago |
Kajetan Johannes Hammerle
|
632c32f3c3
pre increment
|
3 years ago |
Kajetan Johannes Hammerle
|
dad5b76b5a
unary minus
|
3 years ago |
Kajetan Johannes Hammerle
|
130412de6e
while
|
3 years ago |
Kajetan Johannes Hammerle
|
7d9398fe47
else if
|
3 years ago |
Kajetan Johannes Hammerle
|
5666cea22e
else
|
3 years ago |
Kajetan Johannes Hammerle
|
6e3b078b55
&& and || with short circuit evaluation
|
3 years ago |
Kajetan Johannes Hammerle
|
cfddaa0cc5
module
|
3 years ago |
Kajetan Johannes Hammerle
|
f9abbf9728
dividing
|
3 years ago |
Kajetan Johannes Hammerle
|
b0783c3adf
refactoring
|
3 years ago |
Kajetan Johannes Hammerle
|
6abfe0a3de
rest of comparison operators: >, <=, >=, ==, !=
|
3 years ago |
Kajetan Johannes Hammerle
|
c0b0ff7378
extended test code
|
3 years ago |
Kajetan Johannes Hammerle
|
2f86004ede
if, less and subtraction, recursion tests
|
3 years ago |
Kajetan Johannes Hammerle
|
ae8f99fc37
compile time error when a return value is expected from void functions
|
3 years ago |
Kajetan Johannes Hammerle
|
6191d26fa8
show better line for double functions
|
3 years ago |
Kajetan Johannes Hammerle
|
07c762063d
not used return values of functions are popped
|
3 years ago |
Kajetan Johannes Hammerle
|
ef662f8df9
function can have return values
|
3 years ago |
Kajetan Johannes Hammerle
|
b998245f8d
function calls can be used before the function is declared
|
3 years ago |
Kajetan Johannes Hammerle
|
079563b3c7
returns must be inside a function
|
3 years ago |
Kajetan Johannes Hammerle
|
12a5ca9c04
return for functions
|
3 years ago |
Kajetan Johannes Hammerle
|
4b9ce848c5
simplified error handling by using longjumps
|
3 years ago |
Kajetan Johannes Hammerle
|
3a58c4a19c
refactoring
|
3 years ago |
Kajetan Johannes Hammerle
|
badf6ab7e9
functions signature consists of their name and number of arguments,
|
3 years ago |
Kajetan Johannes Hammerle
|
f4d46a5ea4
more function tests, correct resetting of var index
|
3 years ago |
Kajetan Johannes Hammerle
|
eb04b88a27
functions can have arguments (no check for number of arguments)
|
3 years ago |
Kajetan Johannes Hammerle
|
8c544a56ce
function vars have own scope (own storage on the stack)
|
3 years ago |
Kajetan Johannes Hammerle
|
f4cdb6bf01
refactoring
|
3 years ago |
Kajetan Johannes Hammerle
|
f209fbe331
basic functions without a stack and arguments
|
3 years ago |
Kajetan Johannes Hammerle
|
163d563286
variables
|
3 years ago |
Kajetan Johannes Hammerle
|
2f4f5cc112
current code line in vm is now an instruction
|
3 years ago |