summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* rust: simplify error handling a bitBrian Cully2025-12-181-20/+27
|
* rust, js: do plain old object translation is wasm. use workersBrian Cully2025-12-181-133/+94
|
* rename velocity to speedBrian Cully2025-12-163-26/+38
| | | | mass is a scalar quantity
* html: add arena canvas and update robo from codeBrian Cully2025-12-151-0/+22
|
* compiler: add support for say, heading, velocity, and dopplerBrian Cully2025-12-151-0/+49
|
* vm: add support for robo stuff: velocity, heading, doppler, sayBrian Cully2025-12-151-0/+111
|
* compiler: add support for not, and, or, xorBrian Cully2025-12-151-0/+32
|
* fmtBrian Cully2025-12-151-4/+2
|
* vm: Add boolean operators for not, and, or, and xorBrian Cully2025-12-152-1/+98
|
* rustfmtBrian Cully2025-08-313-144/+206
|
* wip: another attempt at extensibilityBrian Cully2025-08-251-29/+35
|
* wip: robo plugin stuffBrian Cully2025-08-252-0/+63
| | | | | i have no idea how to make this work with rust without resorting to unsafe.
* stop using ‘Result’ for testsBrian Cully2025-08-251-103/+75
| | | | i don't know why i liked it.
* some underflow testsBrian Cully2025-08-251-1/+31
|
* do in-place memory manipulation for rot/dup/swapBrian Cully2025-08-251-13/+31
|
* tail-position if no longer needs retBrian Cully2025-08-252-14/+26
|
* add commentsBrian Cully2025-08-251-0/+26
|
* put tail call substitution in an fn and call it inside if/thenBrian Cully2025-08-251-18/+66
|
* add rot and swapBrian Cully2025-08-252-5/+66
|
* make runtime errors std::error::ErrorBrian Cully2025-08-251-0/+8
|
* use isizeBrian Cully2025-08-251-1/+1
|
* use ‘DataStackType’ instead of hard-coding i32Brian Cully2025-08-253-5/+7
| | | | i want to try isize
* clippyBrian Cully2025-08-253-92/+78
|
* apparently ‘mod.rs’ is the old wayBrian Cully2025-08-241-0/+0
|
* move factorial test to integration testBrian Cully2025-08-241-33/+0
|
* parser → compilerBrian Cully2025-08-241-2/+2
|
* rename parser → compiler, interp → vmBrian Cully2025-08-244-292/+292
| | | | reflects reality better
* try some rusty stuff with std traitsBrian Cully2025-08-241-31/+29
|
* pass annotations to js so we can highlight program textBrian Cully2025-08-242-34/+109
|
* begginnenblinkenBrian Cully2025-08-231-5/+1
|
* render call and data stacksBrian Cully2025-08-231-1/+9
|
* highlight running codeBrian Cully2025-08-231-6/+22
|
* add some benchmarkingBrian Cully2025-08-232-6/+21
|
* show wordlist in html on compileBrian Cully2025-08-233-49/+77
|
* wip: pass interp between js and rustBrian Cully2025-08-232-12/+63
|
* make compile button actually compileBrian Cully2025-08-224-20/+18
|
* start hooking the web ui up to rustBrian Cully2025-08-222-3/+25
|
* factorial workingBrian Cully2025-08-214-82/+182
|
* add tail call elimination for call and if.Brian Cully2025-08-212-38/+480
|
* interpreter now uses same structure as parserBrian Cully2025-08-192-55/+73
|
* parser now emits list of words and hashmap of string→indexBrian Cully2025-08-194-0/+384
wordlist is just a vector of bytecode entries. to associate a word to an entry in the wordlist, use the word catalog to look up by name.