Scott Richmond
|
3e84aa3f14
|
run is now String -> String, outputting a json result
|
2025-06-25 15:41:30 -04:00 |
|
Scott Richmond
|
87e58364e0
|
meet with mnl
|
2025-06-25 13:34:59 -04:00 |
|
Scott Richmond
|
4f80c500a2
|
so turtle graphics appears to work?
|
2025-06-24 15:58:14 -04:00 |
|
Scott Richmond
|
d9f0b44bed
|
so many things: DRY out VM, fix repeat tail calls, etc.
|
2025-06-24 15:50:02 -04:00 |
|
Scott Richmond
|
0290bb3bf2
|
update (fix?) partial function application stack discipline
|
2025-06-23 21:22:28 -04:00 |
|
Scott Richmond
|
772c56a6df
|
fix upvalue resolution for forward-declared functions
|
2025-06-23 20:26:26 -04:00 |
|
Scott Richmond
|
42a5f599f7
|
fix upvalue resolution for forward-declared functions
|
2025-06-23 20:06:40 -04:00 |
|
Scott Richmond
|
f2bae26e1c
|
fix upvalue resolution, hopefully for real this time
|
2025-06-23 19:17:53 -04:00 |
|
Scott Richmond
|
987cc172c1
|
moar debugging: find issues with upvalues
|
2025-06-23 18:59:12 -04:00 |
|
Scott Richmond
|
24f57c1529
|
actually fix splatted dict pattern stack discipline
|
2025-06-23 17:58:10 -04:00 |
|
Scott Richmond
|
49e46d045b
|
fix repeat stack discipline
|
2025-06-23 17:37:46 -04:00 |
|
Scott Richmond
|
6954857fdd
|
fix dict pattern stack discipline
|
2025-06-23 17:33:45 -04:00 |
|
Scott Richmond
|
f09caabfcb
|
wip: sorting out diect pattern stack discipline
|
2025-06-23 00:38:51 -04:00 |
|
Scott Richmond
|
e4b385d2fb
|
fix tail position in collection forms
|
2025-06-23 00:27:50 -04:00 |
|
Scott Richmond
|
f576868a7a
|
update stack discipline in dict patterns
|
2025-06-23 00:07:04 -04:00 |
|
Scott Richmond
|
f9e4b4623b
|
additional fixes in tuple and dict patterns
|
2025-06-22 23:58:55 -04:00 |
|
Scott Richmond
|
bf97a34771
|
add turtle graphics, fix jump len error in tuple pattern
|
2025-06-22 23:57:11 -04:00 |
|
Scott Richmond
|
480e05f561
|
keep adding prelude; fix when stack discipline
|
2025-06-22 22:46:07 -04:00 |
|
Scott Richmond
|
9d798e5e58
|
fix interpolated string stack discipline
|
2025-06-22 21:15:17 -04:00 |
|
Scott Richmond
|
f0cf43b486
|
update block stack work
|
2025-06-22 20:44:07 -04:00 |
|
Scott Richmond
|
e2c9619fa6
|
update block stack work
|
2025-06-22 20:43:51 -04:00 |
|
Scott Richmond
|
f35cdd0e8d
|
fix and & or
|
2025-06-22 20:26:38 -04:00 |
|
Scott Richmond
|
c00e1275fd
|
fix and & or
|
2025-06-22 20:26:08 -04:00 |
|
Scott Richmond
|
e4a948ba94
|
maybe actually fix the loop stuff; lots of QOL improvements
|
2025-06-22 19:42:25 -04:00 |
|
Scott Richmond
|
86de66c4d2
|
keep grinding; quality of life improvements to aid in grinding
|
2025-06-22 17:03:50 -04:00 |
|
Scott Richmond
|
813a79a415
|
add a sandbox file to replace in-code Rust string
|
2025-06-22 14:40:27 -04:00 |
|
Scott Richmond
|
0b27944d11
|
improve bytecode readability by reporting patterns
|
2025-06-22 14:39:52 -04:00 |
|
Scott Richmond
|
f58a5f14b5
|
improve bytecode readability by reporting patterns
|
2025-06-22 14:38:29 -04:00 |
|
Scott Richmond
|
2f60de79a2
|
keep grinding on loop/recur/jif stack mismatch; add ast->code printer
|
2025-06-22 14:04:43 -04:00 |
|
Scott Richmond
|
398b140d79
|
grind on bugs
|
2025-06-22 01:24:52 -04:00 |
|
Scott Richmond
|
25a0c62dcf
|
lots of bugs fixed--upvalues, bindings, stack manipulations, tail calls, etc.
|
2025-06-21 22:25:08 -04:00 |
|
Scott Richmond
|
583262f9e8
|
fix one-up closure resolution
|
2025-06-21 18:33:14 -04:00 |
|
Scott Richmond
|
ce11f1cd0f
|
start work on getting prelude working; discover closure bug
|
2025-06-21 17:43:47 -04:00 |
|
Scott Richmond
|
3fe5365586
|
moar thoughts
|
2025-06-20 17:11:08 -04:00 |
|
Scott Richmond
|
23d9945c48
|
fix if alternative unconditional jump len
|
2025-06-20 17:09:41 -04:00 |
|
Scott Richmond
|
92d0915a71
|
prelude compiles: WAT
|
2025-06-20 16:02:48 -04:00 |
|
Scott Richmond
|
b3e0af41bb
|
constants need 16 bits
|
2025-06-20 15:56:13 -04:00 |
|
Scott Richmond
|
121861cc8e
|
fix function scoping bug
|
2025-06-20 15:35:09 -04:00 |
|
Scott Richmond
|
a2ae53f8e4
|
wire up stub:w prelude from external file
|
2025-06-20 14:43:14 -04:00 |
|
Scott Richmond
|
e06a24cf20
|
base and stub prelude wired up
|
2025-06-20 14:30:39 -04:00 |
|
Scott Richmond
|
1e3fcde57a
|
work on prelude; update tailcall to deal properly with base fns
|
2025-06-20 14:29:31 -04:00 |
|
Scott Richmond
|
c73c7e0d6a
|
load base into a compiler
|
2025-06-20 12:53:16 -04:00 |
|
Scott Richmond
|
ef134c0335
|
fix argument order in base fns
|
2025-06-20 12:49:31 -04:00 |
|
Scott Richmond
|
e580d68809
|
recursion works, so does mutual recursion; function call bugfixes
|
2025-06-20 12:32:15 -04:00 |
|
Scott Richmond
|
f4ade4938c
|
notes and todos
|
2025-06-20 00:56:43 -04:00 |
|
Scott Richmond
|
fa587e38cd
|
fix binding bug
|
2025-06-20 00:33:25 -04:00 |
|
Scott Richmond
|
8b004b45fa
|
find a bug in function bindings; TCO is maybe complete?; things are in a shambles
|
2025-06-19 21:47:58 -04:00 |
|
Scott Richmond
|
7e4ddd3dc4
|
improve panic traces; tail calls work for simpel calls
|
2025-06-19 21:13:18 -04:00 |
|
Scott Richmond
|
2f5dab84a7
|
tail calls work now? also print stack trace on panic
|
2025-06-19 20:52:19 -04:00 |
|
Scott Richmond
|
94b7f98362
|
Merge branch 'bytecode' of alea.ludus.dev:scott/rudus into bytecode
|
2025-06-19 20:29:41 -04:00 |
|