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 |
Kajetan Johannes Hammerle
|
974f3c89b6
line bits reduced to 16
|
3 years ago |
Kajetan Johannes Hammerle
|
2c00c7e948
refactoring
|
3 years ago |
Kajetan Johannes Hammerle
|
b289719095
float type
|
3 years ago |
Kajetan Johannes Hammerle
|
92b0d19b0a
bool type
|
3 years ago |
Kajetan Johannes Hammerle
|
b694007673
source file line for runtime errors
|
3 years ago |