Constant Folding for Let Variables in Ona Script #42
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since the current canonical Ona Script implementation generates a full AST, it seems to make sense that it should be able to lower constant expressions into a normalized format via folding for
let
-storage declarations.This is also a blocker and necessary stepping stone toward getting #41 working properly, as it is going to need to be able to statically analyze
var
andlet
stored declarations so it knows where and when to close on them and allocate the lexical context.Removing this as a required feature for the scripting MVP.
Not applicable as the scripting lang is currently removed from the project