Commit Graph
158 Commits
Author SHA1 Message Date
MightyPork fd90480cec make stdin async 2020-11-01 01:10:34 +01:00
MightyPork f87d822432 more docs, fixes, examples 2020-10-31 21:57:36 +01:00
MightyPork 735f871ea0 Implement critical sections and timeslice setting cmd 2020-10-31 21:46:34 +01:00
MightyPork 9cd03ca8e3 make scheduler timeslice configurable 2020-10-31 19:19:41 +01:00
MightyPork 2752fa4beb fix unit tests, cargo fiox 2020-10-31 19:13:07 +01:00
MightyPork 5107b78ae5 add warning and yield docs to readme 2020-10-31 19:00:46 +01:00
MightyPork d6fc82c533 improve readme 2020-10-31 18:54:43 +01:00
MightyPork 77efa0fdc0 typo 2020-10-31 18:48:27 +01:00
MightyPork 91939f520b Merge branch 'coroutines' 2020-10-31 18:47:32 +01:00
MightyPork 5a0e370589 document coroutines 2020-10-31 18:47:10 +01:00
MightyPork af52270a29 add generator example 2020-10-31 18:17:50 +01:00
MightyPork c8d01b6151 coroutine fixes, first example 2020-10-31 17:55:23 +01:00
MightyPork 8659240d01 wip coroutines and scheduler 2020-10-31 17:32:02 +01:00
MightyPork d0d4f1c15e add (cas), (casXX), and (bfcas) 2020-10-28 22:48:25 +01:00
MightyPork 4e67ac291f update examples to use the new const eval syntax 2020-10-28 18:34:53 +01:00
MightyPork 66b3674f81 Merge branch 'consteval' 2020-10-28 18:25:05 +01:00
MightyPork 02f73a21f4 fixes, safeguards and docs for "compile-time arithmetics" 2020-10-28 18:24:51 +01:00
MightyPork 83996348cb Implement compile-time immediate arithmetics 2020-10-28 17:36:16 +01:00
MightyPork cfcd099060 remove bad script 2020-10-25 12:50:54 +01:00
MightyPork 1cfab8d21e fix rng not being inclusive 2020-10-25 12:50:40 +01:00
MightyPork 506a4e42a2 Mandelbrot interactive fixes + improvements
- fix memory leak caused by gradient table
- refactor to conditional branches
- reset drawing on move
- add keys to change itercount and force redraw
2020-10-25 11:09:23 +01:00
MightyPorkandGitea 191ba495f2 Merge branch 'master' of cpsdqs/crsn into master 2020-10-25 09:15:38 +00:00
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
MightyPorkandGitea 062095cc28 Merge branch 'master' of User_4574/crsn into master 2020-10-23 21:01:49 +00:00
Nat Lasseter ab5fed3cfa Fixed conditional parsing bug, npos and nneg options wrong way round 2020-10-23 21:45:56 +01: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 9faeceba61 talk about constants 2020-10-20 00:56:19 +02:00
MightyPork d9be3278f5 docs for float 2020-10-20 00:53:43 +02:00
MightyPork 28fcec7dfc Merge branch 'floats' into master 2020-10-20 00:28:56 +02:00
MightyPork 9723ac72be fixes, more trig, demo with floats 2020-10-20 00:26:08 +02:00
MightyPork 68c9b33637 basic float arith, wip float trig, abs 2020-10-17 23:58:24 +02:00
MightyPork e560fc5657 DRY arithmetic parsing 2020-10-17 22:52:07 +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 22cbfeb4ff have the sign extend instructions also extend zero sign 2020-10-15 00:55:11 +02:00