summaryrefslogtreecommitdiff
path: root/vm.c
Commit message (Collapse)AuthorAgeFilesLines
* mandelbrotubq3232024-06-211-0/+3
|
* print -> putsubq3232024-06-211-1/+1
|
* add tests, and make dumping disasm optionalubq3232024-06-211-3/+4
|
* proper equality for values; deduplicate constants in compilationubq3232024-06-211-1/+10
|
* while loops, comparisons, modulo, fizzbuzzubq3232024-06-211-3/+21
|
* add (if cond if-true if-false) builtinubq3232024-06-201-1/+24
|
* add true, false, nil keywordsubq3232024-06-201-1/+9
|
* globals are now variableubq3232024-06-201-1/+18
|
* add readable globalsubq3232024-06-201-1/+15
|
* pass State *S everywhereubq3232024-06-201-36/+29
| | | | contains changes from a million years ago that i don't remember much about
* refactor hashtables, and use objstrings for keysubq3232023-08-051-11/+0
| | | | | doesn't yet work without string interning, which will require further refactoring
* give M extra param for tracking alloc size; macros for allocationubq3232023-08-041-2/+4
|
* move M to its own fileubq3232023-08-041-14/+1
|
* valty_str -> typename_strubq3232023-08-041-1/+1
|
* add string object values. you can't do anything with them yetubq3232023-08-041-2/+7
|
* compilation of basic arithmetic exprs to bytecodeubq3232023-08-011-12/+11
|
* dissasembler and basic arithmeticubq3232023-08-011-11/+40
|
* bytecode vm start, can print constants currentlyubq3232023-07-311-0/+102