foolang
foolang copied to clipboard
constant folding on AST
Optionally during construction, but also as a separate pass.
Builtins annotated with foldable, user functions are foldable if they never write to slots and only use foldable sends.