PARSE instruction implementation #3
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: affine/Mycelium#3
Loading…
Add table
Add a link
Reference in a new issue
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?
The parse instruction should be implemented as a TRAP, with logic stored in the Mycelium (scheme) package.
A argument (string) is received and both lex() and parse() are called. If an error is produced during this process it is then stored in the error register and execution is stopped. Otherwise, the resulting AST is returned (set in expr).