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
|
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 |
Kajetan Johannes Hammerle
|
18c87bb02f
brackets
|
3 years ago |
Kajetan Johannes Hammerle
|
67b23135d8
null type, refactoring
|
3 years ago |
Kajetan Johannes Hammerle
|
c24a784034
line information in compiler
|
3 years ago |
Kajetan Johannes Hammerle
|
df186d6185
multiply and improved errors
|
3 years ago |
Kajetan Johannes Hammerle
|
899e6203aa
update to C only, simple tokenizer / compiler / vm but everything works
|
3 years ago |