summaryrefslogtreecommitdiff
path: root/val.c
Commit message (Collapse)AuthorAgeFilesLines
* compilation of functions, and some parts of interpreting themubq3232024-06-221-1/+1
|
* add function literalsubq3232024-06-221-0/+6
|
* fix circular dependenciesubq3232024-06-221-0/+4
|
* add tests, and make dumping disasm optionalubq3232024-06-211-1/+1
|
* minor optimizationubq3232024-06-211-2/+2
|
* proper equality for values; deduplicate constants in compilationubq3232024-06-211-0/+11
|
* add (if cond if-true if-false) builtinubq3232024-06-201-0/+6
|
* add true, false, nil keywordsubq3232024-06-201-0/+5
|
* string interning and print statementubq3232024-06-201-6/+23
|
* pass State *S everywhereubq3232024-06-201-7/+7
| | | | contains changes from a million years ago that i don't remember much about
* refactor hashtables, and use objstrings for keysubq3232023-08-051-1/+13
| | | | | 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-3/+2
|
* move M to its own fileubq3232023-08-041-1/+2
|
* valty_str -> typename_strubq3232023-08-041-1/+1
|
* add string object values. you can't do anything with them yetubq3232023-08-041-7/+33
|
* dissasembler and basic arithmeticubq3232023-08-011-3/+18
|
* bytecode vm start, can print constants currentlyubq3232023-07-311-0/+16