-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement statement sequence for the CSE machine (#1575)
* Creation of StatementSequence, custom Node type and changes in CSE machine * fix formatting * Implement AST transformer and transformation * formatting * bug fix #1 * limit places where transformed tree is run * Sent statementSequence transformer to utils + transform happens immediately before execution * format * remove debug * i am actually so stupid * Completion of CSE machine handling of StatementSequence * Clousre creation now accounts for StatementSequence * hasBreak/Continue/Return now accounts for StatementSequence * astToString now works on StatementSequence * wait this should not be here * Add Program to StatementSequence transformer + update CSE machine implementation * minor suggestions from code review --------- Co-authored-by: Martin Henz <[email protected]>
- Loading branch information
1 parent
746eb8b
commit 00f3153
Showing
61 changed files
with
938 additions
and
410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.