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
af52270a29
add generator example
4 years ago
Ondřej Hruška
c8d01b6151
coroutine fixes, first example
4 years ago
Ondřej Hruška
4e67ac291f
update examples to use the new const eval syntax
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
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
2800b8cab2
life is now better
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
9723ac72be
fixes, more trig, demo with floats
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
5b163e969f
add the "lds" instruction
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
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
f2073fe7f4
improve the rev example
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
3a8895b790
add rcmp instr, add rot13 example
4 years ago
Ondřej Hruška
d5821e3552
add "swap" instr, document buffer ops
4 years ago
Ondřej Hruška
aae9db0598
fix branch parser eating all list tokens
4 years ago
Ondřej Hruška
9aee9ca143
add reverse example
4 years ago
Ondřej Hruška
ee59096821
buffer module, replacing stacks. TODO: docs, fix parsing of "numbers tuple" in mkbfv (consumed by the conditional branch parser)
4 years ago
Ondřej Hruška
1f2dbaa81d
add better string and number parsing to sexp. cleaning, more tests
4 years ago
Ondřej Hruška
034c7b991f
improve readme and example of the stdio module
4 years ago
Ondřej Hruška
9d7f3d25c8
add stdio module
4 years ago
Ondřej Hruška
562fc48151
add support for character literals using single quotes
4 years ago
Ondřej Hruška
ce5bf513c0
stricter label parsing, more relaxed identifier rules
4 years ago