Scott Richmond scott
  • Joined on 2023-07-29
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 »
scott pushed to to_janet at twc/ludus 2024-05-08 21:14:57 +00:00
4f16cf5cb0 finally get when clauses & forms right
scott pushed to to_janet at twc/ludus 2024-05-08 19:57:08 +00:00
942f55fb39 fix panic off-by-one-error
0eb212dd45 add a break before pipline
77bacd1367 get when expressions worked out
cdb71a8122 :rarrow -> :arrow
c36a140c6b if expressions, done
Compare 6 commits »
scott pushed to to_janet at twc/ludus 2024-04-29 22:38:11 +00:00
05703a27fa complete simple expressions
scott commented on issue twc/ludus#4 2024-04-29 22:15:46 +00:00
Improve namespaces

Closely related to #5.

scott commented on issue twc/ludus#5 2024-04-29 22:14:53 +00:00
pkgs and nses

The revised, current strategy:

& a package, `pkg`: 
let foo = ...
let bar = ...
let baz = ...
pkg Foobar { foo, bar, baz }

& a namespace, `ns`:
ns Foobar {
    let foo = ...
   …