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
Ondřej Hruška
2d4f6b4af1
implement "lds" for objects (buffers, cin)
4 years ago
Ondřej Hruška
1e6e45ea72
use se32 in the bmp example
4 years ago
Ondřej Hruška
22cbfeb4ff
have the sign extend instructions also extend zero sign
4 years ago
Ondřej Hruška
5b163e969f
add the "lds" instruction
4 years ago
Ondřej Hruška
01ab4e7e1f
add sign extend commands
4 years ago
Ondřej Hruška
3b9e89674c
add a pikachu hint
4 years ago
Ondřej Hruška
0a182fb91a
add bmp parser example
4 years ago
Ondřej Hruška
ff84a7a481
add build scripts for native and musl
4 years ago
Ondřej Hruška
7efa04054c
make it work with musl (the _nox target does not link the screen module that wouldn't build)
4 years ago
Ondřej Hruška
4cf24f0382
new examples
4 years ago
Ondřej Hruška
c953e39b34
Add ld{32,16,8},sw{32,16,8},clz{,32,16,8},clo{,32,16,8},rng,rev,rbit; rename swap->xch
4 years ago
Ondřej Hruška
4062ff4d09
AMAZING NEW FEATURES ldn, bfio
4 years ago
Ondřej Hruška
74e3716ce4
change register count to 15, add global registers
4 years ago
Ondřej Hruška
9254635fd7
add examples; do not hard-shutdown when screen is closed - destructors did not run!
4 years ago
Ondřej Hruška
c28fee88fe
use 'spin_sleep' for more accurate execution rate, add "s", "m", "u" suffix support to the -C argument
4 years ago
Ondřej Hruška
f2073fe7f4
improve the rev example
4 years ago
Ondřej Hruška
acc36b1959
document the eof, empty and full flags
4 years ago
Ondřej Hruška
4d921cbec0
update docs about stdin renaming to cin
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
982ba27ed3
cleanup, auto deref Wd, Wr, RdObj
4 years ago
Ondřej Hruška
7a3cb539e1
add new rdwr access type to guard against illegal writes that can be caught at compile time
4 years ago