From 2bdcaf319b1d74ffbaccf08a58336f804761beab Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Thu, 9 Jul 2026 23:51:55 -0400 Subject: Refactor into monorepo --- pit/whereweleftoff.org | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pit/whereweleftoff.org (limited to 'pit/whereweleftoff.org') diff --git a/pit/whereweleftoff.org b/pit/whereweleftoff.org new file mode 100644 index 0000000..3b89918 --- /dev/null +++ b/pit/whereweleftoff.org @@ -0,0 +1,8 @@ +[2026-06-26] + +- annotations do not work properly because macroexpansion creates an entirely new body for lambdas +- we realized that we are handling macro application in two separate places: pit_expand_macros expands lambda bodies, and pit_eval expands macros encountered while evaling. we ought to unify this so that only one is used (probably pit_expand_macros, because we need to expand macros eagerly to identify free variables to capture) +- we probably can make pit_expand_macros and pit_eval much nicer +- we can probably make pit_expand_macros operate in place +- if we want to be really smart, cool, happy, rich: + let's just make stuff translate to a little VM before it evaluates, and let's store VM programs as functions instead of sexps -- cgit v1.3.1