EVAL instruction implementation #4

Open
opened 2025-07-22 11:37:36 -07:00 by affine · 0 comments
Owner

The EVAL instruction should be implemented as a TRAP function, with logic in the Mycelium (scheme) package.
The EVAL instruction should be implemented to provide the following behavior:

  • An AST is read from expr register
  • The compile routine is called on it
  • The output is saved to expr register

This will eventually require the full compiler to be built... but for now THIS ISSUE can be solved with a function stub for eval.

The EVAL instruction should be implemented as a TRAP function, with logic in the Mycelium (scheme) package. The EVAL instruction should be implemented to provide the following behavior: - An AST is read from expr register - The compile routine is called on it - The output is saved to expr register This will eventually require the full compiler to be built... but for now THIS ISSUE can be solved with a function stub for eval.
affine added this to the HyphaeVM Roadmap project 2025-07-22 11:37:36 -07:00
affine modified the project from HyphaeVM Roadmap to Scheme Roadmap 2025-07-25 10:44:28 -07:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
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: affine/Mycelium#4
No description provided.