Commit Graph

21 Commits (daff23dd98b03c3b58320ae4b094a63b1a201f41)

Author SHA1 Message Date
Ondřej Hruška daff23dd98
Add loop syntactic sugar; errors now use print instead of debug; add check for duplicate labels. 4 years ago
Ondřej Hruška 735f871ea0
Implement critical sections and timeslice setting cmd 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
Ondřej Hruška ace92a6411
rewrite the stdio module to be less broken. also add sehbang support 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 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 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 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 b7345144e0
refactors 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 3e0aaa71e9
Convert builtin ops into a pseudo-extension 4 years ago
Ondřej Hruška 1d444fd516
cleaning 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 8f076e195a
format 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
Ondřej Hruška a867f43763
new unit test 4 years ago
Ondřej Hruška 30cd0304d2
Initial 4 years ago