Commit Graph

24 Commits (83996348cb674f5619cb15e7e61413031cb7f369)

Author SHA1 Message Date
Ondřej Hruška 83996348cb
Implement compile-time immediate arithmetics 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 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 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 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 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 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 e580a2b679
Add "sym" and "def" instructions, add argument naming 4 years ago
Ondřej Hruška c37408c7a2 read program from file; fmt, cleanup 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 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 8222efe6da
remove "immediate ptr" data type, move read, write funcs to RunState, add %objectPtr syntax 4 years ago
Ondřej Hruška f015104b95
re-arrange modules, add "plug-in" system so instructions can be defined in multiple crates 4 years ago
Ondřej Hruška 8f076e195a
format 4 years ago
Ondřej Hruška f493cc102a
add "_" pattern for explicitly specifying the "discard" destination (may be used for side effects) 4 years ago
Ondřej Hruška 8e7689df48
add explicit retval arg to all instrs (can be shortened), add Wr::discard() 4 years ago
Ondřej Hruška 5f4fd0e806
exec 4 years ago
Ondřej Hruška def2fc8db0
add low level ops enum 4 years ago
Ondřej Hruška 30cd0304d2
Initial 4 years ago