Commit Graph
103 Commits
Author SHA1 Message Date
MightyPork 7efa04054c make it work with musl (the _nox target does not link the screen module that wouldn't build) 2020-10-11 22:56:48 +02:00
MightyPork 4cf24f0382 new examples 2020-10-11 22:34:11 +02:00
MightyPork c953e39b34 Add ld{32,16,8},sw{32,16,8},clz{,32,16,8},clo{,32,16,8},rng,rev,rbit; rename swap->xch 2020-10-11 22:01:12 +02:00
MightyPork 4062ff4d09 AMAZING NEW FEATURES ldn, bfio 2020-10-11 01:35:19 +02:00
MightyPork 74e3716ce4 change register count to 15, add global registers 2020-10-10 23:28:29 +02:00
MightyPork 9254635fd7 add examples; do not hard-shutdown when screen is closed - destructors did not run! 2020-10-10 22:25:26 +02:00
MightyPork c28fee88fe use 'spin_sleep' for more accurate execution rate, add "s", "m", "u" suffix support to the -C argument 2020-10-10 20:41:46 +02:00
MightyPork f2073fe7f4 improve the rev example 2020-10-10 18:58:35 +02:00
MightyPork acc36b1959 document the eof, empty and full flags 2020-10-10 18:56:35 +02:00
MightyPork 4d921cbec0 update docs about stdin renaming to cin 2020-10-10 18:49:40 +02:00
MightyPork ace92a6411 rewrite the stdio module to be less broken. also add sehbang support 2020-10-10 18:46:32 +02:00
MightyPork 982ba27ed3 cleanup, auto deref Wd, Wr, RdObj 2020-10-10 15:45:01 +02:00
MightyPork 7a3cb539e1 add new rdwr access type to guard against illegal writes that can be caught at compile time 2020-10-10 15:39:18 +02:00
MightyPork 8ea60f52eb remove unused "mask" code 2020-10-10 15:17:39 +02:00
MightyPork 3a8895b790 add rcmp instr, add rot13 example 2020-10-10 14:31:07 +02:00
MightyPork e48d734615 readme add codeblock annotations 2020-10-10 14:04:02 +02:00
MightyPork 4677625d51 readme fix 2020-10-10 14:02:48 +02:00
MightyPork 06b449004d document the swap instr 2020-10-10 14:02:22 +02:00
MightyPork d5821e3552 add "swap" instr, document buffer ops 2020-10-10 13:59:45 +02:00
MightyPork aae9db0598 fix branch parser eating all list tokens 2020-10-10 12:26:50 +02:00
MightyPork 9aee9ca143 add reverse example 2020-10-10 01:53:10 +02:00
MightyPork ee59096821 buffer module, replacing stacks. TODO: docs, fix parsing of "numbers tuple" in mkbfv (consumed by the conditional branch parser) 2020-10-10 01:26:40 +02:00
MightyPork 1f2dbaa81d add better string and number parsing to sexp. cleaning, more tests 2020-10-09 00:41:09 +02:00
MightyPork 548addc78c add a line about contributing 2020-10-08 14:41:09 +00:00
MightyPork 034c7b991f improve readme and example of the stdio module 2020-10-08 00:56:59 +02:00
MightyPork 9d7f3d25c8 add stdio module 2020-10-08 00:42:24 +02:00
MightyPork e3fe3c6d72 performance improvements 2020-10-07 23:40:00 +02:00
MightyPork a3eae0a8a9 add extension hook to pre-define constants 2020-10-07 22:31:50 +02:00
MightyPork 4115e07ee6 @reg and @value reading and writing is now possible 2020-10-07 22:24:30 +02:00
MightyPork 562fc48151 add support for character literals using single quotes 2020-10-07 19:27:30 +02:00
MightyPork ce5bf513c0 stricter label parsing, more relaxed identifier rules 2020-10-07 19:10:52 +02:00
MightyPork 0cc0be370f fix error in readme 2020-10-07 18:48:58 +02:00
MightyPork 5686ad7bd3 add script to test that all examples compile 2020-10-07 18:35:13 +02:00
MightyPork 6b685dcaa3 add docs for the screen module 2020-10-07 15:28:13 +02:00
MightyPork 003a214e06 update docs 2020-10-07 11:15:30 +02:00
MightyPork 017ec53b14 Merge branch 'spanned-sexp' into master 2020-10-06 23:27:06 +02:00
MightyPork dbc4454244 cleaning; optimize screen_bounce.csn 2020-10-06 23:26:52 +02:00
MightyPork 214d673643 remove junk, better explain whats going on with spanned_sexp 2020-10-06 23:17:47 +02:00
MightyPork 33ec1461e4 remove unnecessary cloning of SourcePosition, reduce SourcePosition size. clean, format 2020-10-06 23:12:11 +02:00
MightyPork 91573140a4 all errors now contain source location 2020-10-06 22:54:34 +02:00
MightyPork d4534c9c66 sexp: add span info to Sexps 2020-10-06 20:23:43 +02:00
MightyPork 0fd1c9980b sexp: move error defs to a module 2020-10-06 19:52:00 +02:00
MightyPork 6dfe22152c sexp: replace logging with log crate trace macro 2020-10-06 19:44:15 +02:00
MightyPork 7272eecc48 sexp automated format & cleanup 2020-10-06 19:40:56 +02:00
MightyPork 3cb445a31c sexp: tests to submodule 2020-10-06 19:40:16 +02:00
MightyPork a2dada519d sexp: replace try! with ? 2020-10-06 19:38:13 +02:00
MightyPork 250f0f22c0 cargo fix 2020-10-06 19:37:12 +02:00
MightyPork 85911c8e99 add sexp into source tree 2020-10-06 19:37:12 +02:00
MightyPork f404445003 deny direct access to symmed register - prevents bugs 2020-10-06 12:39:39 +02:00
MightyPork 2fa23dbbc3 start program without spawning thread so screen works on mac. improve mouse demo 2020-10-06 12:28:49 +02:00