From ef29d98ba845d3971d53770dc8c0f9366e9df23d Mon Sep 17 00:00:00 2001 From: Banner Schafer Date: Wed, 15 Jan 2025 09:05:12 +1100 Subject: [PATCH] Update node identifier for let (to be "l") I think there's a discrepancy between the IR and the reference implementation (JS version) . --- ir/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/README.md b/ir/README.md index 2cca09936..05b5acb65 100644 --- a/ir/README.md +++ b/ir/README.md @@ -27,7 +27,7 @@ The only requirement on label string is that they are nonempty and contain no wh // apply(function, argument) {"0": "a", "f": expression, "a": expression} // let(label, value, then) -{"0": "a", "l": label, "v": expression, "t": expression} +{"0": "l", "l": label, "v": expression, "t": expression} // b already taken when adding binary // binary(value) {"0": "x", "v": bytes} @@ -65,4 +65,4 @@ The only requirement on label string is that they are nonempty and contain no wh {"0": "b", "l": label} // reference(label) {"0": "#", "l": label} -``` \ No newline at end of file +```