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
Ondřej Hruška
0cc0be370f
fix error in readme
4 years ago
Ondřej Hruška
dbc4454244
cleaning; optimize screen_bounce.csn
4 years ago
Ondřej Hruška
2fa23dbbc3
start program without spawning thread so screen works on mac. improve mouse demo
4 years ago
Ondřej Hruška
f4ced467e4
add rpush and rpop stack instructions
4 years ago
Ondřej Hruška
583ac7bcbf
mouse and key input, handle close btn, mouse demo
4 years ago
Ondřej Hruška
810ed2dddc
optimize labels, jumps
4 years ago
Ondřej Hruška
b06ef50acd
surround routines by far jump across
4 years ago
Ondřej Hruška
e0cc1973ba
Routine arity disambiguation, slash syntax (add/2, add/3)
4 years ago
Ondřej Hruška
8d585d765b
stacks example
4 years ago
Ondřej Hruška
651ffcb888
new test
4 years ago
Ondřej Hruška
6d8d0fd51a
show unsym and undef in the aliases example
4 years ago
Ondřej Hruška
e580a2b679
Add "sym" and "def" instructions, add argument naming
4 years ago
Ondřej Hruška
4be5b4e05b
generalize parsing to allow extensions to add arbitrary syntax; add 'proc' keyword to introduce a routine.
4 years ago
Ondřej Hruška
d47d0f2345
add note about log level
4 years ago
Ondřej Hruška
c37408c7a2
read program from file; fmt, cleanup
4 years ago