Scott Richmond scott
  • Joined on 2023-07-29
scott pushed to to_janet at twc/ludus 2024-05-18 21:49:55 +00:00
5deab18356 string patterns should now be working
014da297d0 more cleanup still
88aaf864ab more cleanup
Compare 3 commits »
scott commented on issue twc/ludus#33 2024-05-18 21:48:22 +00:00
WASM: wire it up!

Okay. I figured out how to do this, more or less.

Zig is great, but its build system is very powerful, very complicated and seriously under-documented.

(See, e.g., https://ziggit.dev/t/buildi

scott pushed to to_janet at twc/ludus 2024-05-18 21:04:29 +00:00
95054ef234 add match exprs
41cd39df2e check + compile string patterns; some cleanup, some messes still
32cf7d6cc4 add expr to match to matchh
b5d23b26ec ensure :errors is always a tuple or array, never nil; allows (empty? (scanner :errors)) to work as a test for errors
Compare 4 commits »
scott opened issue twc/ludus#33 2024-05-16 18:31:52 +00:00
WASM: wire it up!
scott pushed to to_janet at twc/ludus 2024-05-16 17:57:30 +00:00
b0c912b16c don't die when trying to check arity of a nonexistent function
scott commented on issue twc/ludus#32 2024-05-16 00:10:08 +00:00
Mutual recursion
scott opened issue twc/ludus#32 2024-05-15 23:04:03 +00:00
Mutual recursion
scott pushed to to_janet at twc/ludus 2024-05-15 16:33:58 +00:00
d5f593b0f3 tuple patterns, with splats!
e0919e771d bugfix
Compare 2 commits »
scott pushed to to_janet at twc/ludus 2024-05-15 04:05:31 +00:00
399f1fd4c7 make progress; WIP: interpreting pattern matching
scott pushed to to_janet at twc/ludus 2024-05-15 00:45:00 +00:00
3a8a236f01 start work on interpreter
c68d08e8b2 fix imports
Compare 2 commits »
scott commented on issue twc/ludus#5 2024-05-14 22:59:27 +00:00
pkgs and nses

Accepted, and implemented in scanner, parser, validator.

scott pushed to to_janet at twc/ludus 2024-05-14 22:56:22 +00:00
3e9f38ef5c update notes
b6e1d0e6ec clean up files
bc17fe5006 successfully flag tail calls
Compare 3 commits »
scott pushed to to_janet at twc/ludus 2024-05-14 22:41:27 +00:00
5fbafbac94 make progress: many things
ec43aa3c67 accept newlines after arrows in fn clauses; make some asts mutable for validation
3225ea2472 improve pkg
67cd9d479b keywords must start with lower case
Compare 4 commits »
scott pushed to to_janet at twc/ludus 2024-05-14 01:07:32 +00:00
3b3071adb0 capture unvalidated notes from parser as todos
scott pushed to to_janet at twc/ludus 2024-05-14 00:55:42 +00:00
7018949845 a whole lot of a validator
68e96bf223 many bugfixes; desugar pairs with word shorthand in dicts
Compare 2 commits »
scott pushed to to_janet at twc/ludus 2024-05-12 03:40:45 +00:00
2cfe9fdffc complete draft of parsing
806ec0e8f0 moar validations
65eb17778c don't put break before pipeline
Compare 3 commits »
scott pushed to to_janet at twc/ludus 2024-05-10 20:11:02 +00:00
b5def30348 add a pretty-printer (that sometimes causes errors!), lots of bugs but functions for all the things
b0cffea71f moar idears for validation
Compare 2 commits »
scott pushed to to_janet at twc/ludus 2024-05-10 19:02:59 +00:00
064b5df2dd better name for package names
f1a1e9ec62 notes towards an ast-validator
8f284f1e65 first draft of all the things; many bugs abound
232261b646 add uppercase pkg to scanner
Compare 4 commits »
scott pushed to to_janet at twc/ludus 2024-05-09 22:30:19 +00:00
f3778792b3 parse interpolated strings/string patterns
248e424993 moar bugfixes
3f16e45204 fix escaping brace bug, which was fixing next-char bug; also clean some stuff up
Compare 3 commits »
scott pushed to to_janet at twc/ludus 2024-05-08 21:42:14 +00:00
c5d04ddd66 some unfinished work on string interpolation
3466b075af add easy patterns, start work on string interpolation
736f1024c3 fix nil parser bug, start work on patterns
Compare 3 commits »