summaryrefslogtreecommitdiff
path: root/vm.h
Commit message (Expand)AuthorAgeFilesLines
* array literalsubq3232024-06-261-0/+3
* remove OP_PUTS and OP_PRINT, use say and write functions insteadubq3232024-06-261-2/+0
* add setting localsubq3232024-06-251-0/+1
* get functions and arguments and returning to work fullyubq3232024-06-251-1/+2
* add local variables and (let) formubq3232024-06-241-0/+3
* compilation of functions, and some parts of interpreting themubq3232024-06-221-1/+13
* put state and chunk into new compiler struct; refactor mildlyubq3232024-06-211-17/+1
* mandelbrotubq3232024-06-211-0/+1
* print -> putsubq3232024-06-211-1/+1
* while loops, comparisons, modulo, fizzbuzzubq3232024-06-211-0/+5
* add (if cond if-true if-false) builtinubq3232024-06-201-0/+4
* add true, false, nil keywordsubq3232024-06-201-1/+5
* globals are now variableubq3232024-06-201-0/+3
* add readable globalsubq3232024-06-201-0/+2
* pass State *S everywhereubq3232024-06-201-15/+20
* move M to its own fileubq3232023-08-041-2/+0
* compilation of basic arithmetic exprs to bytecodeubq3232023-08-011-0/+1
* dissasembler and basic arithmeticubq3232023-08-011-0/+5
* bytecode vm start, can print constants currentlyubq3232023-07-311-0/+42