Skip to content

AST Fixes#115

Open
jakerss2 wants to merge 8 commits intoslag-plt:mainfrom
jakerss2:main
Open

AST Fixes#115
jakerss2 wants to merge 8 commits intoslag-plt:mainfrom
jakerss2:main

Conversation

@jakerss2
Copy link
Copy Markdown
Contributor

Runner AST (visualization)

Previously, the AST using the runner was not keyboard accessible/did not have many of the features the interactive pane AST had. Additions to ast.ts were made to enable keyboard navigation. It also now supports a feature which when a node is clicked, moves the cursor in the code editor to the beginning of that node(ast.ts and ide.ts). The runner tree was also updated to have more simple graphics instead of extraneous lines(runner.html).

General AST

ast.ts was updated to provide more accurate descriptions of scamper code. The tree is now output with more syntactically meaningful labels.

Other fix

Key binds were reorganized to provide more universally usable keys. ide.html was changed to support these new key binds. Also, the indentation on ast.ts was set to 4, and nearly everything else is 2, so everything was reindented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants