Scott Richmond scott
  • Joined on 2023-07-29
scott opened issue twc/ludus#117 2025-06-11 22:26:05 +00:00
Should Ludus have a linked list collection type?
scott commented on issue twc/ludus#116 2025-06-11 22:23:30 +00:00
Prelude should have a foldr function

Here's foldr (which is not "fold from the right," but right-associative):

fn foldr {
	"Folds a list using, right-associatively."
	(f as :fn, []) -> []
	(f as :fn, xs as :list) ->…
scott opened issue twc/ludus#116 2025-06-11 21:59:37 +00:00
Prelude should have a foldr function
scott pushed to main at twc/ludus 2025-06-10 21:22:14 +00:00
6a71e3c244 fix svg typo bug
a86041ed66 0.1.38
d61c9a6880 0.1.37
Compare 3 commits »
scott pushed to main at twc/ludus 2025-06-10 20:59:43 +00:00
02ccd5327c add document size in inches
scott pushed to bytecode at twc/rudus 2025-06-10 19:44:57 +00:00
ecd16e3aef update thoughts
e3b5b96dc2 test out 16 bit operand math
Compare 2 commits »
scott opened issue twc/ludus#113 2025-06-10 19:11:14 +00:00
goto! should work
scott pushed to bytecode at twc/rudus 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/rudus 2025-06-06 01:23:14 +00:00
77faf67191 fix InterpolatedPattern compilation
scott pushed to bytecode at twc/rudus 2025-06-05 20:45:28 +00:00
f8adaa7971 first draft of partial application, is working in easy cases
scott pushed to bytecode at twc/rudus 2025-06-05 20:10:45 +00:00
dee9bcfc33 start work on partial application, fix/abstract binding resolution
f3bf55fe72 add dict splats
b557c487cc add list splats
Compare 3 commits »
scott pushed to bytecode at twc/rudus 2025-06-05 16:15:53 +00:00
b8b720b877 add do forms
23b8beb291 fix extra pop regression
Compare 2 commits »
scott pushed to bytecode at twc/rudus 2025-06-04 23:02:24 +00:00
5ae4742840 save work, working on function clause guards, extra pop instructions are showing up after function definitions
0f8645d2eb guards work in match forms
01ce043379 guards work in match forms
Compare 3 commits »
scott pushed to bytecode at twc/rudus 2025-06-04 22:27:22 +00:00
2ce2e2c2d3 let as last expr in block now returns rhs; clean up some comment cruft
scott pushed to bytecode at twc/rudus 2025-06-04 21:53:44 +00:00
61b1b7bf90 closures work?!
bf2b16c30f add a print builtin/opcode
Compare 2 commits »
scott pushed to bytecode at twc/rudus 2025-06-03 23:13:46 +00:00
c497b90a16 implement multiterm synthetic expressions
scott pushed to bytecode at twc/rudus 2025-06-03 22:54:37 +00:00
fc245348b4 start pulling base fns into bytecode interpreter
scott pushed to bytecode at twc/rudus 2025-06-03 21:30:05 +00:00
615fef6ebc function calls: first draft, worked out the obvious bugs
scott pushed to bytecode at twc/rudus 2025-06-03 20:23:41 +00:00
86992078e9 keywords and interned strings use &'static str instead of indexes into vecs
scott pushed to bytecode at twc/rudus 2025-06-03 19:48:17 +00:00
681176282c basic function calls, still with bugs!
22d1ceb3e8 vm.chunk -> vm.callframe.chunk
Compare 2 commits »