Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add some failing tests for closures | ubq323 | 2024-07-03 | 9 | -0/+87 |
| | |||||
* | add defn form | ubq323 | 2024-07-03 | 4 | -0/+47 |
| | |||||
* | compile each file like a body, allowing def at file toplevel | ubq323 | 2024-07-03 | 3 | -4/+12 |
| | |||||
* | add (each (x arr) ...) array-loop form | ubq323 | 2024-07-02 | 8 | -43/+163 |
| | |||||
* | add for2 test | ubq323 | 2024-07-01 | 2 | -0/+7 |
| | |||||
* | add numeric for form | ubq323 | 2024-07-01 | 3 | -0/+76 |
| | |||||
* | add map test | ubq323 | 2024-07-01 | 2 | -0/+17 |
| | |||||
* | add doc.txt | ubq323 | 2024-06-30 | 2 | -6/+48 |
| | |||||
* | fix parsing logic bug (for newer versions of packcc) | ubq323 | 2024-06-30 | 1 | -5/+3 |
| | |||||
* | makefile fix? | ubq323 | 2024-06-30 | 1 | -0/+2 |
| | |||||
* | add array index setting syntax | ubq323 | 2024-06-30 | 11 | -16/+60 |
| | |||||
* | add proper tail calls | ubq323 | 2024-06-29 | 6 | -44/+88 |
| | |||||
* | def form for implicit scopes | ubq323 | 2024-06-28 | 7 | -47/+87 |
| | |||||
* | expand todo | ubq323 | 2024-06-27 | 1 | -1/+32 |
| | |||||
* | add vars5 test | ubq323 | 2024-06-27 | 2 | -0/+12 |
| | |||||
* | more tests | ubq323 | 2024-06-27 | 12 | -23/+94 |
| | |||||
* | array literals | ubq323 | 2024-06-26 | 16 | -5/+71 |
| | |||||
* | add arrays, appending, getting length, indexing | ubq323 | 2024-06-26 | 9 | -10/+125 |
| | |||||
* | func5 test | ubq323 | 2024-06-26 | 2 | -0/+14 |
| | |||||
* | remove OP_PUTS and OP_PRINT, use say and write functions instead | ubq323 | 2024-06-26 | 18 | -41/+27 |
| | |||||
* | add cfunc type and rudimentary stdlib | ubq323 | 2024-06-26 | 8 | -16/+89 |
| | |||||
* | remove implicit print and adjust tests accordingly | ubq323 | 2024-06-26 | 16 | -21/+12 |
| | |||||
* | mandel_local test | ubq323 | 2024-06-26 | 2 | -0/+54 |
| | |||||
* | remove explicit toplevel (do ...) from tests | ubq323 | 2024-06-26 | 10 | -77/+68 |
| | |||||
* | support multiple input filenames | ubq323 | 2024-06-26 | 4 | -20/+65 |
| | |||||
* | parse multiple expressions | ubq323 | 2024-06-26 | 6 | -31/+21 |
| | |||||
* | make stackpointer less bad | ubq323 | 2024-06-26 | 1 | -17/+18 |
| | | | | | | | | previously was the length of the stack, ie number of items above current fp, and so needed to be adjusted in each call or ret now it's just an absolute index into the stack, like it always should have been | ||||
* | vars4 test | ubq323 | 2024-06-26 | 2 | -0/+12 |
| | |||||
* | add setting locals | ubq323 | 2024-06-25 | 4 | -4/+30 |
| | |||||
* | allow local resolution into outer scopes | ubq323 | 2024-06-25 | 4 | -17/+25 |
| | |||||
* | more function tests | ubq323 | 2024-06-25 | 7 | -0/+35 |
| | |||||
* | get functions and arguments and returning to work fully | ubq323 | 2024-06-25 | 5 | -35/+62 |
| | |||||
* | add local variables and (let) form | ubq323 | 2024-06-24 | 8 | -20/+145 |
| | |||||
* | keep track of stack position while compiling | ubq323 | 2024-06-24 | 6 | -27/+82 |
| | |||||
* | chunk_wconst -> compile_constant | ubq323 | 2024-06-24 | 2 | -7/+7 |
| | |||||
* | chunk_wbc -> compile_opcode | ubq323 | 2024-06-24 | 2 | -30/+30 |
| | |||||
* | refactor error checking and argument parsing | ubq323 | 2024-06-24 | 5 | -34/+45 |
| | |||||
* | compilation of functions, and some parts of interpreting them | ubq323 | 2024-06-22 | 12 | -99/+186 |
| | |||||
* | add function literals | ubq323 | 2024-06-22 | 6 | -7/+98 |
| | |||||
* | 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 |
| |