Scott Richmond scott
  • Joined on 2023-07-29
scott pushed to bytecode at twc/ludus 2025-06-20 18:29:37 +00:00
1e3fcde57a work on prelude; update tailcall to deal properly with base fns
scott pushed to bytecode at twc/ludus 2025-06-20 16:53:20 +00:00
c73c7e0d6a load base into a compiler
ef134c0335 fix argument order in base fns
Compare 2 commits »
scott pushed to bytecode at twc/ludus 2025-06-20 16:32:20 +00:00
e580d68809 recursion works, so does mutual recursion; function call bugfixes
scott pushed to bytecode at twc/ludus 2025-06-20 04:56:47 +00:00
f4ade4938c notes and todos
fa587e38cd fix binding bug
Compare 2 commits »
scott pushed to bytecode at twc/ludus 2025-06-20 01:48:03 +00:00
8b004b45fa find a bug in function bindings; TCO is maybe complete?; things are in a shambles
scott pushed to bytecode at twc/ludus 2025-06-20 01:13:23 +00:00
7e4ddd3dc4 improve panic traces; tail calls work for simpel calls
2f5dab84a7 tail calls work now? also print stack trace on panic
Compare 2 commits »
scott pushed to bytecode at twc/ludus 2025-06-20 00:29:52 +00:00
94b7f98362 Merge branch 'bytecode' of alea.ludus.dev:scott/rudus into bytecode
1af75bc516 fix upvalue resolution, start work on TCO
Compare 2 commits »
scott pushed to bytecode at twc/ludus 2025-06-20 00:26:23 +00:00
807b2e6ce0 fix upvalue resolution
scott pushed to bytecode at twc/ludus 2025-06-19 22:26:50 +00:00
bf1e7e4072 rought draft of splatted fn args
scott pushed to bytecode at twc/ludus 2025-06-19 19:56:27 +00:00
442532ecd3 dict splatterns first draft
4dd4b8ff7e pseudocode splatted dict algo
Compare 2 commits »
scott pushed to bytecode at twc/ludus 2025-06-19 16:37:36 +00:00
35d7d3b1c8 first draft of tuple splatterns
scott pushed to bytecode at twc/ludus 2025-06-19 16:18:14 +00:00
a4d68fa02e first draft of list splatterns
2b95094eca first stab at splatted lists
4871dbd048 add match splatted list opcode
647f3d4463 update punch list
Compare 4 commits »
scott pushed to bytecode at twc/ludus 2025-06-18 23:03:49 +00:00
fb2488c850 rough draft of new version of loop w/ 16 bit jumps
scott pushed to bytecode at twc/ludus 2025-06-18 21:50:36 +00:00
f6bfe0975b update repeat w/ new jumps
ffe5d2ad61 panic on wrong number of args to functions
23298c8538 match now uses new jump; micro-optimize pop_n
77f1627132 update dict pattern for new jumps
6bd419125f update list pattern compiling to reflect new jump logic
Compare 5 commits »
scott pushed to bytecode at twc/ludus 2025-06-18 18:47:06 +00:00
a5f2e2a9bd tuple patterns now use jump_stub and patch_jump, with 16 bit jump values
a0ef6d2777 chip away at 16-bit jump instructions
d727096422 VM instructions now take 3 bytes
979afdbcb9 add jump fn for 16 bit jump
316e8a6a58 remove unused pattern.rs
Compare 5 commits »
scott pushed to main at twc/ludus-scripts 2025-06-12 19:44:34 +00:00
150b0f0c38 Fix typos
scott pushed to bytecode at twc/ludus 2025-06-10 19:44:57 +00:00
ecd16e3aef update thoughts
e3b5b96dc2 test out 16 bit operand math
Compare 2 commits »
scott pushed to bytecode at twc/ludus 2025-06-06 04:06:28 +00:00
6ded94f7d0 oops: put working document under version control
0347d10db7 first draft of complex string matching, discover jump mistake
Compare 2 commits »
scott pushed to bytecode at twc/ludus 2025-06-06 01:23:14 +00:00
77faf67191 fix InterpolatedPattern compilation
scott pushed to bytecode at twc/ludus 2025-06-05 20:45:28 +00:00
f8adaa7971 first draft of partial application, is working in easy cases