Scott Richmond scott
  • Joined on 2023-07-29
scott opened issue twc/ludus#67 2024-06-05 17:18:18 +00:00
and and or should be short-circuiting special forms
scott opened issue twc/ludus#66 2024-06-05 17:13:40 +00:00
Real UTF-8 functions
scott pushed to to_janet at twc/ludus 2024-06-05 17:01:51 +00:00
6a4e2ccd17 continue integration work: basic framework
scott pushed to to_janet at twc/ludus 2024-06-05 15:55:10 +00:00
721594823d start integration work: comment out prints/pps; create ludus.janet
scott commented on issue twc/ludus#52 2024-06-04 20:58:35 +00:00
Renaming refs

Done and done, in fa5e298d94

scott closed issue twc/ludus#52 2024-06-04 20:58:35 +00:00
Renaming refs
scott pushed to to_janet at twc/ludus 2024-06-04 20:57:36 +00:00
fa5e298d94 ref -> box; fix box representations; add ds modifying functions to base
scott pushed to to_janet at twc/ludus 2024-06-04 20:24:58 +00:00
6cc7f045a2 complete draft of base
scott commented on issue twc/ludus#39 2024-06-04 20:18:25 +00:00
Base in Janet

Now that doc! exists in base, that means we should be done with this particular discussion.

scott closed issue twc/ludus#39 2024-06-04 20:18:25 +00:00
Base in Janet
scott commented on issue twc/ludus#39 2024-06-04 20:17:44 +00:00
Base in Janet

to_dict is used in dict, to convert structs (which are no longer in the language) and nses (now pkgs) into dicts.

I'm perfectly happy to say you can't dictify a pkg, and ditch…

scott commented on issue twc/ludus#39 2024-06-04 20:14:22 +00:00
Base in Janet

into is used in slice and set:

  • in slice it is redundant, since slices return arrays instead of seqs in Janet.
  • in set it is not enough, since Janet has no set type and we'll…
scott commented on issue twc/ludus#41 2024-06-04 20:10:59 +00:00
Give partially applied functions better names

Done, as of f80aa7a8dc. Got mixed in with other work on the same commit. Whoops!

scott closed issue twc/ludus#41 2024-06-04 20:10:59 +00:00
Give partially applied functions better names
scott commented on issue twc/ludus#51 2024-06-04 20:09:29 +00:00
Partially applied functions should be able to take arguments immediately

This was either solved in my approach to giving partially applied functions better names, OR was not an issue at all; one snafu here is that base builtin functions may not be partially…

scott closed issue twc/ludus#51 2024-06-04 20:09:29 +00:00
Partially applied functions should be able to take arguments immediately
scott commented on issue twc/ludus#65 2024-06-04 20:07:07 +00:00
Consider subtle scoping/shadowing rules

Just did it: copied the context the function closes over into a struct, never worry about this again.

Had to do some fancy footwork with forward declarations, but it the solution works!

https…

scott closed issue twc/ludus#65 2024-06-04 20:07:07 +00:00
Consider subtle scoping/shadowing rules
scott pushed to to_janet at twc/ludus 2024-06-04 20:06:36 +00:00
a25ece5a68 fixed closure/function contexts work with forward declaration & mutual recursion
scott opened issue twc/ludus#65 2024-06-04 19:52:36 +00:00
Consider subtle scoping/shadowing rules