Commit Graph
55 Commits
Author SHA1 Message Date
cpsdqs e6c8125cfe Interactive mandelbrot: use quadtree table for nicer previews 2020-10-25 00:10:27 +02:00
cpsdqs ae82157d19 Add interactive mandelbrot example 2020-10-24 23:27:16 +02:00
MightyPork 40d4b272e4 add mandelbrot examples 2020-10-24 21:26:53 +02:00
MightyPork b5016c6b12 add key checking example, key and mouse constants 2020-10-24 00:10:18 +02:00
MightyPork 2800b8cab2 life is now better 2020-10-22 23:57:15 +02:00
MightyPork 54ff5fbce9 Merge branch 'nat-master' into master 2020-10-22 21:55:16 +02:00
MightyPork 8d10fa406d Minor "else" improvements
- Do not generate s.never to skip Else branch
- Add Display impl to SourcePosition
- Correct SourcePositions pointing to the end of a parsed expr instead of the beginning
- Remove 'true', 'always', 'false' and 'never' from README.md
2020-10-22 21:55:00 +02:00
Nat Lasseter 0006cd06ec Reduce true/false conditionals down to just 'else' and warn if else is used in non-final branch 2020-10-22 20:05:33 +01:00
MightyPork f61dc00291 add GOL example 2020-10-22 00:07:30 +02:00
Nat Lasseter 12e37d4335 Introduce the 'true' and 'false' conditions 2020-10-21 19:57:14 +01:00
MightyPork 453f421bae remove junk 2020-10-21 00:28:56 +02:00
MightyPork aa20959d82 add a font demo 2020-10-21 00:28:28 +02:00
MightyPork 562c6baddc fixes, graphic acceleration commands, upscaling pixels 2020-10-20 20:59:35 +02:00
MightyPork 9723ac72be fixes, more trig, demo with floats 2020-10-20 00:26:08 +02:00
MightyPork 3999c51eb7 implement a more readable bit mask syntax, add (ldXX Wr Rd Rd) with separate dest and both sources 2020-10-17 14:54:51 +02:00
MightyPork 26616e20cb Simplify {clz,clo,se}XX parsing and exec, add simple unit test example scripts 2020-10-16 00:18:38 +02:00
MightyPork 768f36ae18 use the new ldX/Y/Z in the bmp example 2020-10-15 22:04:41 +02:00
MightyPork e0e45bd223 implement bit copy and swap with any size and offset using a special new syntax 2020-10-15 22:02:13 +02:00
MightyPork 2d4f6b4af1 implement "lds" for objects (buffers, cin) 2020-10-15 20:38:43 +02:00
MightyPork 1e6e45ea72 use se32 in the bmp example 2020-10-15 01:05:12 +02:00
MightyPork 5b163e969f add the "lds" instruction 2020-10-15 00:53:59 +02:00
MightyPork 3b9e89674c add a pikachu hint 2020-10-14 22:18:18 +02:00
MightyPork 0a182fb91a add bmp parser example 2020-10-14 22:05:10 +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 f2073fe7f4 improve the rev example 2020-10-10 18:58:35 +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 3a8895b790 add rcmp instr, add rot13 example 2020-10-10 14:31:07 +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 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 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 dbc4454244 cleaning; optimize screen_bounce.csn 2020-10-06 23:26:52 +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
MightyPork f4ced467e4 add rpush and rpop stack instructions 2020-10-06 12:18:07 +02:00
MightyPork 583ac7bcbf mouse and key input, handle close btn, mouse demo 2020-10-05 23:37:39 +02:00
MightyPork 810ed2dddc optimize labels, jumps 2020-10-04 22:45:34 +02:00
MightyPork b06ef50acd surround routines by far jump across 2020-10-04 21:26:06 +02:00
MightyPork e0cc1973ba Routine arity disambiguation, slash syntax (add/2, add/3) 2020-10-04 13:28:14 +02:00
MightyPork 8d585d765b stacks example 2020-10-01 23:36:33 +02:00
MightyPork 651ffcb888 new test 2020-10-01 23:33:42 +02:00