Ondřej Hruška
9f289cffd3
add includes
4 years ago
Ondřej Hruška
9d4fef5222
add file index field to SourcePosition, some refactor, put coroutines in Box
4 years ago
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
fd90480cec
make stdin async
4 years ago
Ondřej Hruška
f87d822432
more docs, fixes, examples
4 years ago
Ondřej Hruška
735f871ea0
Implement critical sections and timeslice setting cmd
4 years ago
Ondřej Hruška
9cd03ca8e3
make scheduler timeslice configurable
4 years ago
Ondřej Hruška
2752fa4beb
fix unit tests, cargo fiox
4 years ago
Ondřej Hruška
5107b78ae5
add warning and yield docs to readme
4 years ago
Ondřej Hruška
d6fc82c533
improve readme
4 years ago
Ondřej Hruška
77efa0fdc0
typo
4 years ago
Ondřej Hruška
91939f520b
Merge branch 'coroutines'
4 years ago
Ondřej Hruška
5a0e370589
document coroutines
4 years ago
Ondřej Hruška
af52270a29
add generator example
4 years ago
Ondřej Hruška
c8d01b6151
coroutine fixes, first example
4 years ago
Ondřej Hruška
8659240d01
wip coroutines and scheduler
4 years ago
Ondřej Hruška
d0d4f1c15e
add (cas), (casXX), and (bfcas)
4 years ago
Ondřej Hruška
4e67ac291f
update examples to use the new const eval syntax
4 years ago
Ondřej Hruška
66b3674f81
Merge branch 'consteval'
4 years ago
Ondřej Hruška
02f73a21f4
fixes, safeguards and docs for "compile-time arithmetics"
4 years ago
Ondřej Hruška
83996348cb
Implement compile-time immediate arithmetics
4 years ago
Ondřej Hruška
cfcd099060
remove bad script
4 years ago
Ondřej Hruška
1cfab8d21e
fix rng not being inclusive
4 years ago
Ondřej Hruška
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
4 years ago
Ondřej Hruška
191ba495f2
Merge branch 'master' of cpsdqs/crsn into master
4 years ago
cpsdqs
e6c8125cfe
Interactive mandelbrot: use quadtree table for nicer previews
4 years ago
cpsdqs
ae82157d19
Add interactive mandelbrot example
4 years ago
Ondřej Hruška
40d4b272e4
add mandelbrot examples
4 years ago
Ondřej Hruška
b5016c6b12
add key checking example, key and mouse constants
4 years ago
Ondřej Hruška
062095cc28
Merge branch 'master' of User_4574/crsn into master
4 years ago
Nat Lasseter
ab5fed3cfa
Fixed conditional parsing bug, npos and nneg options wrong way round
4 years ago
Ondřej Hruška
2800b8cab2
life is now better
4 years ago
Ondřej Hruška
54ff5fbce9
Merge branch 'nat-master' into master
4 years ago
Ondřej Hruška
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
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
f61dc00291
add GOL example
4 years ago
Nat Lasseter
12e37d4335
Introduce the 'true' and 'false' conditions
4 years ago
Ondřej Hruška
453f421bae
remove junk
4 years ago
Ondřej Hruška
aa20959d82
add a font demo
4 years ago
Ondřej Hruška
562c6baddc
fixes, graphic acceleration commands, upscaling pixels
4 years ago
Ondřej Hruška
9faeceba61
talk about constants
4 years ago
Ondřej Hruška
d9be3278f5
docs for float
4 years ago
Ondřej Hruška
28fcec7dfc
Merge branch 'floats' into master
4 years ago
Ondřej Hruška
9723ac72be
fixes, more trig, demo with floats
4 years ago
Ondřej Hruška
68c9b33637
basic float arith, wip float trig, abs
4 years ago
Ondřej Hruška
e560fc5657
DRY arithmetic parsing
4 years ago
Ondřej Hruška
3999c51eb7
implement a more readable bit mask syntax, add (ldXX Wr Rd Rd) with separate dest and both sources
4 years ago
Ondřej Hruška
26616e20cb
Simplify {clz,clo,se}XX parsing and exec, add simple unit test example scripts
4 years ago
Ondřej Hruška
768f36ae18
use the new ldX/Y/Z in the bmp example
4 years ago
Ondřej Hruška
e0e45bd223
implement bit copy and swap with any size and offset using a special new syntax
4 years ago