Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix circular dependencies | ubq323 | 2024-06-22 | 4 | -3/+23 | |
| | ||||||
* | put state and chunk into new compiler struct; refactor mildly | ubq323 | 2024-06-21 | 3 | -120/+118 | |
| | ||||||
* | refactor compilation of builtin forms | ubq323 | 2024-06-21 | 2 | -102/+159 | |
| | ||||||
* | optimize mandelbrot | ubq323 | 2024-06-21 | 1 | -2/+2 | |
| | ||||||
* | mandelbrot | ubq323 | 2024-06-21 | 7 | -1/+62 | |
| | ||||||
* | print -> puts | ubq323 | 2024-06-21 | 6 | -12/+12 | |
| | ||||||
* | รพ -> th | ubq323 | 2024-06-21 | 7 | -9/+9 | |
| | ||||||
* | add tests, and make dumping disasm optional | ubq323 | 2024-06-21 | 16 | -13/+107 | |
| | ||||||
* | minor optimization | ubq323 | 2024-06-21 | 3 | -5/+8 | |
| | ||||||
* | proper equality for values; deduplicate constants in compilation | ubq323 | 2024-06-21 | 3 | -1/+22 | |
| | ||||||
* | while loops, comparisons, modulo, fizzbuzz | ubq323 | 2024-06-21 | 7 | -13/+89 | |
| | ||||||
* | add (if cond if-true if-false) builtin | ubq323 | 2024-06-20 | 6 | -26/+116 | |
| | ||||||
* | add true, false, nil keywords | ubq323 | 2024-06-20 | 6 | -7/+37 | |
| | ||||||
* | globals are now variable | ubq323 | 2024-06-20 | 5 | -24/+67 | |
| | ||||||
* | add readable globals | ubq323 | 2024-06-20 | 5 | -5/+44 | |
| | ||||||
* | string interning and print statement | ubq323 | 2024-06-20 | 5 | -16/+63 | |
| | ||||||
* | pass State *S everywhere | ubq323 | 2024-06-20 | 14 | -112/+153 | |
| | | | | contains changes from a million years ago that i don't remember much about | |||||
* | refactor hashtables, and use objstrings for keys | ubq323 | 2023-08-05 | 8 | -71/+90 | |
| | | | | | doesn't yet work without string interning, which will require further refactoring | |||||
* | give M extra param for tracking alloc size; macros for allocation | ubq323 | 2023-08-04 | 4 | -9/+27 | |
| | ||||||
* | move M to its own file | ubq323 | 2023-08-04 | 6 | -19/+31 | |
| | ||||||
* | valty_str -> typename_str | ubq323 | 2023-08-04 | 4 | -4/+4 | |
| | ||||||
* | add string object values. you can't do anything with them yet | ubq323 | 2023-08-04 | 7 | -33/+93 | |
| | ||||||
* | rename "symbol" to "ident" everywhere | ubq323 | 2023-08-04 | 4 | -11/+11 | |
| | ||||||
* | add strings to parser | ubq323 | 2023-08-03 | 5 | -12/+23 | |
| | ||||||
* | remove hardcoded bytecode test | ubq323 | 2023-08-03 | 1 | -15/+0 | |
| | ||||||
* | remove run_old.c | ubq323 | 2023-08-02 | 1 | -121/+0 | |
| | ||||||
* | tersify | ubq323 | 2023-08-02 | 4 | -11/+11 | |
| | ||||||
* | compilation of basic arithmetic exprs to bytecode | ubq323 | 2023-08-01 | 8 | -31/+85 | |
| | ||||||
* | dissasembler and basic arithmetic | ubq323 | 2023-08-01 | 7 | -14/+109 | |
| | ||||||
* | bytecode vm start, can print constants currently | ubq323 | 2023-07-31 | 7 | -2/+169 | |
| | ||||||
* | test | ubq323 | 2023-07-29 | 1 | -3/+4 | |
| | ||||||
* | th | ubq323 | 2023-07-29 | 8 | -57/+204 | |
| | ||||||
* | more code | ubq323 | 2023-07-12 | 9 | -21/+188 | |
| | ||||||
* | allow more characters in symbols | ubq323 | 2023-07-11 | 2 | -4/+3 | |
| | ||||||
* | parsing sexprs | ubq323 | 2023-07-11 | 4 | -15/+54 | |
| | ||||||
* | minor | ubq323 | 2023-07-10 | 3 | -4/+13 | |
| | ||||||
* | new grammar using packcc | ubq323 | 2023-07-10 | 2 | -15/+26 | |
| | ||||||
* | initial | ubq323 | 2023-07-10 | 4 | -0/+125 | |