Commit Graph

84 Commits (fd90480cecbe6e6428113ba326fe5ae2e1522011)

Author SHA1 Message Date
Ondřej Hruška fd90480cec
make stdin async 4 years ago
Ondřej Hruška f87d822432
more docs, fixes, examples 4 years ago
Ondřej Hruška 735f871ea0
Implement critical sections and timeslice setting cmd 4 years ago
Ondřej Hruška 2752fa4beb
fix unit tests, cargo fiox 4 years ago
Ondřej Hruška c8d01b6151
coroutine fixes, first example 4 years ago
Ondřej Hruška 8659240d01
wip coroutines and scheduler 4 years ago
Ondřej Hruška d0d4f1c15e
add (cas), (casXX), and (bfcas) 4 years ago
Ondřej Hruška 02f73a21f4
fixes, safeguards and docs for "compile-time arithmetics" 4 years ago
Ondřej Hruška 83996348cb
Implement compile-time immediate arithmetics 4 years ago
Nat Lasseter ab5fed3cfa Fixed conditional parsing bug, npos and nneg options wrong way round 4 years ago
Ondřej Hruška 8d10fa406d
Minor "else" improvements 4 years ago
Nat Lasseter 0006cd06ec Reduce true/false conditionals down to just 'else' and warn if else is used in non-final branch 4 years ago
Nat Lasseter 12e37d4335 Introduce the 'true' and 'false' conditions 4 years ago
Ondřej Hruška 562c6baddc
fixes, graphic acceleration commands, upscaling pixels 4 years ago
Ondřej Hruška 9723ac72be
fixes, more trig, demo with floats 4 years ago
Ondřej Hruška 68c9b33637
basic float arith, wip float trig, abs 4 years ago
Ondřej Hruška e560fc5657
DRY arithmetic parsing 4 years ago
Ondřej Hruška 3999c51eb7
implement a more readable bit mask syntax, add (ldXX Wr Rd Rd) with separate dest and both sources 4 years ago
Ondřej Hruška 26616e20cb
Simplify {clz,clo,se}XX parsing and exec, add simple unit test example scripts 4 years ago
Ondřej Hruška e0e45bd223
implement bit copy and swap with any size and offset using a special new syntax 4 years ago
Ondřej Hruška 2d4f6b4af1
implement "lds" for objects (buffers, cin) 4 years ago
Ondřej Hruška 5b163e969f
add the "lds" instruction 4 years ago
Ondřej Hruška 01ab4e7e1f
add sign extend commands 4 years ago
Ondřej Hruška c953e39b34
Add ld{32,16,8},sw{32,16,8},clz{,32,16,8},clo{,32,16,8},rng,rev,rbit; rename swap->xch 4 years ago
Ondřej Hruška 4062ff4d09
AMAZING NEW FEATURES ldn, bfio 4 years ago
Ondřej Hruška 74e3716ce4
change register count to 15, add global registers 4 years ago
Ondřej Hruška c28fee88fe
use 'spin_sleep' for more accurate execution rate, add "s", "m", "u" suffix support to the -C argument 4 years ago
Ondřej Hruška ace92a6411
rewrite the stdio module to be less broken. also add sehbang support 4 years ago
Ondřej Hruška 982ba27ed3
cleanup, auto deref Wd, Wr, RdObj 4 years ago
Ondřej Hruška 7a3cb539e1
add new rdwr access type to guard against illegal writes that can be caught at compile time 4 years ago
Ondřej Hruška 8ea60f52eb
remove unused "mask" code 4 years ago
Ondřej Hruška d5821e3552
add "swap" instr, document buffer ops 4 years ago
Ondřej Hruška aae9db0598
fix branch parser eating all list tokens 4 years ago
Ondřej Hruška ee59096821
buffer module, replacing stacks. TODO: docs, fix parsing of "numbers tuple" in mkbfv (consumed by the conditional branch parser) 4 years ago
Ondřej Hruška 1f2dbaa81d
add better string and number parsing to sexp. cleaning, more tests 4 years ago
Ondřej Hruška 9d7f3d25c8
add stdio module 4 years ago
Ondřej Hruška e3fe3c6d72
performance improvements 4 years ago
Ondřej Hruška a3eae0a8a9
add extension hook to pre-define constants 4 years ago
Ondřej Hruška 4115e07ee6
@reg and @value reading and writing is now possible 4 years ago
Ondřej Hruška 562fc48151
add support for character literals using single quotes 4 years ago
Ondřej Hruška ce5bf513c0
stricter label parsing, more relaxed identifier rules 4 years ago
Ondřej Hruška dbc4454244
cleaning; optimize screen_bounce.csn 4 years ago
Ondřej Hruška 33ec1461e4
remove unnecessary cloning of SourcePosition, reduce SourcePosition size. clean, format 4 years ago
Ondřej Hruška 91573140a4
all errors now contain source location 4 years ago
Ondřej Hruška 85911c8e99
add sexp into source tree 4 years ago
Ondřej Hruška f404445003 deny direct access to symmed register - prevents bugs 4 years ago
Ondřej Hruška 2fa23dbbc3 start program without spawning thread so screen works on mac. improve mouse demo 4 years ago
Ondřej Hruška 583ac7bcbf
mouse and key input, handle close btn, mouse demo 4 years ago
Ondřej Hruška 6eef2b7ae3
cleaning 4 years ago
Ondřej Hruška fe8bf87e6d
add round-trip tests for built-in instructions 4 years ago