Commit Graph

35 Commits (d0d4f1c15ef2c8ae19db7159a7e1b0fedf167fd3)

Author SHA1 Message Date
Ondřej Hruška d0d4f1c15e
add (cas), (casXX), and (bfcas) 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 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 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 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 1f2dbaa81d
add better string and number parsing to sexp. cleaning, more tests 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 f404445003 deny direct access to symmed register - prevents bugs 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
Ondřej Hruška 986f3be6a2
cleanup. remove conditional jumps, replaced by condition embedded in the enum 4 years ago
Ondřej Hruška 810ed2dddc
optimize labels, jumps 4 years ago
Ondřej Hruška e0cc1973ba Routine arity disambiguation, slash syntax (add/2, add/3) 4 years ago
Ondřej Hruška 4336454156
add unsym and undef 4 years ago
Ondřej Hruška e580a2b679
Add "sym" and "def" instructions, add argument naming 4 years ago
Ondřej Hruška 4be5b4e05b
generalize parsing to allow extensions to add arbitrary syntax; add 'proc' keyword to introduce a routine. 4 years ago
Ondřej Hruška 01068ea001
crazy hypno + added sleep cmd 4 years ago
Ondřej Hruška b7345144e0
refactors 4 years ago
Ondřej Hruška 2269d759c6
refactors 4 years ago
Ondřej Hruška 3599cb46c4
cleanup, optimize. use Arc for reference sharing 4 years ago
Ondřej Hruška d5de189af6
add more sensible API for object handles, add drop instruction 4 years ago
Ondřej Hruška 79d5aa3cd5
renaming, cleanup, fmt, move "extension module" traits and structs into a separate mod 4 years ago
Ondřej Hruška d489b214e0
add a readme 4 years ago
Ondřej Hruška 0cd800653f
Example extension: Stacks; fixes to allow module data storage in thread context 4 years ago
Ondřej Hruška 3e0aaa71e9
Convert builtin ops into a pseudo-extension 4 years ago