Commit Graph

53 Commits (f4ced467e4859bfe9c83c1a5f355dc81baae7b26)
 

Author SHA1 Message Date
Ondřej Hruška f4ced467e4 add rpush and rpop stack instructions 4 years ago
Ondřej Hruška 7ce51c0cc6
check close condition on poll 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
Ondřej Hruška 05104c93ca
fix ld printed as mov 4 years ago
Ondřej Hruška 34e339b1ca
add pretty-printer for assembled 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 b06ef50acd
surround routines by far jump across 4 years ago
Ondřej Hruška e0cc1973ba Routine arity disambiguation, slash syntax (add/2, add/3) 4 years ago
Ondřej Hruška 8d585d765b
stacks example 4 years ago
Ondřej Hruška 651ffcb888
new test 4 years ago
Ondřej Hruška 6d8d0fd51a
show unsym and undef in the aliases example 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 afd412f22a
make more stuff public for use by extensions 4 years ago
Ondřej Hruška 822e7912aa
cleanup 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 d47d0f2345 add note about log level 4 years ago
Ondřej Hruška 0b168b5f5d add example config file, add default config file to gitignore 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 532df6eb04
screen imrpvoements 4 years ago
Ondřej Hruška d19c4e5bea
add experimental framebuffer extension using minifb 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 8222efe6da
remove "immediate ptr" data type, move read, write funcs to RunState, add %objectPtr syntax 4 years ago
Ondřej Hruška d489b214e0
add a readme 4 years ago
Ondřej Hruška be1ee66970
make exec speed configurable 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
Ondřej Hruška 1d444fd516
cleaning 4 years ago
Ondřej Hruška ba0e3d0fd2
preparations for module data storage, remove broken tests (dyn trait can't implement PartialEq because ???) 4 years ago
Ondřej Hruška 44e7cd3a8f
renames, improve module API (avoid cloning) 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 547beed847
comments, refactor 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 f652ff6669
dump sreg, add new ops 4 years ago
Ondřej Hruška f7e0998696
add mul, disable slow mode 4 years ago
Ondřej Hruška 88a4d77b8f
implement call, ret, far jumps, add, sub 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 ab843c0c87
add jumps_to_skips transform 4 years ago
Ondřej Hruška a52f1e5e72
fix fallthrough in cond branches 4 years ago