Commit Graph

14 Commits

Author SHA1 Message Date
r4 f6b74f8f97 add generic arrays 2021-12-30 17:59:28 +01:00
r4 4d5cd93354 implement basic RAII-ish array management 2021-12-29 21:42:43 +01:00
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 b58810e822 better error messages 2021-12-25 12:32:52 +01:00
r4 f02dae603d unify printing + add basic strings 2021-12-25 12:16:06 +01:00
r4 6bdc4e3210 add logical or and logical and 2021-12-23 21:42:09 +01:00
r4 d67008cfbf add char literals 2021-12-23 21:26:53 +01:00
r4 84785dc3cf add boolean logic 2021-12-23 21:06:49 +01:00
r4 97e8e32ebc add if and else, and fix nested loops (hopefully) 2021-12-23 19:58:00 +01:00
r4 63af3e907b add assignment operator and unify memory pools
The unification of memory pools also fixed some memory leaks and
hopefully reduced the mallocs of identifier strings significantly by
giving them the same pool as the token stream.
2021-12-21 11:40:49 +01:00
r4 21694f98ac init 2021-12-21 01:18:22 +01:00