Constant Folding for Let Variables in Ona Script #42

Closed
opened 2023-09-02 23:22:56 +02:00 by kayomn · 2 comments
Owner

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 and let stored declarations so it knows where and when to close on them and allocate the lexical context.

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` and `let` stored declarations so it knows where and when to close on them and allocate the lexical context.
kayomn added this to the (deleted) milestone 2023-09-02 23:22:56 +02:00
kayomn self-assigned this 2023-09-02 23:22:56 +02:00
kayomn removed this from the (deleted) milestone 2023-11-05 16:54:42 +01:00
Author
Owner

Removing this as a required feature for the scripting MVP.

Removing this as a required feature for the scripting MVP.
kayomn added this to the (deleted) milestone 2024-06-05 00:56:12 +02:00
Author
Owner

Not applicable as the scripting lang is currently removed from the project

Not applicable as the scripting lang is currently removed from the project
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kayomn/ona#42
No description provided.