Commit Graph

14 Commits

Author SHA1 Message Date
r4 ba8d2f0702 add nilptrs, more conversion functions and change how ptrs work
Pointers now no longer point to the Value struct (the internal wrapper for
values) but to the value itself.
2021-12-28 17:53:27 +01:00
r4 befce544e7 move type enum out of struct 2021-12-28 13:55:01 +01:00
r4 22f71d7e56 add pointers, variable arguments and void functions 2021-12-28 13:39:12 +01:00
r4 18d6e7b7df add 'not equal' operator 2021-12-26 12:19:54 +01:00
r4 1f47b5e16c fix float precision loss bug 2021-12-26 11:59:01 +01:00
r4 dfe1ac90e8 add getln() function and calculator example
Runtime-allocated strings currently always leak memory, I will
definitely have to fix that.
2021-12-26 11:36:52 +01:00
r4 b4c369e1d9 add sleep() function and improve Windows support
I could only test Windows support by compiling with gcc MinGW-w64 and
running with Wine.
2021-12-25 14:06:20 +01:00
r4 b58810e822 better error messages 2021-12-25 12:32:52 +01:00
r4 6bdc4e3210 add logical or and logical and 2021-12-23 21:42:09 +01:00
r4 84785dc3cf add boolean logic 2021-12-23 21:06:49 +01:00
r4 d185396a1c rename arith to binary 2021-12-23 20:10:02 +01:00
r4 d7860fdac0 add VM 2021-12-22 17:23:24 +01:00
r4 005309d1eb IR jmp and scopes 2021-12-21 13:59:08 +01:00
r4 21694f98ac init 2021-12-21 01:18:22 +01:00