Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite code #119

Draft
wants to merge 22 commits into
base: master
Choose a base branch
from
Draft

Rewrite code #119

wants to merge 22 commits into from

Conversation

kneasle
Copy link
Owner

@kneasle kneasle commented Sep 19, 2021

Rewrite of Sapling's initial prototype. The main change is that ASTs are now stored as concrete trees (i.e. trees of formatted tokens) specified by dynamically loaded Grammars. This means that, whilst the representation isn't text-based, the original formatted text version of any tree can be unambiguously reconstructed.

This is currently very WIP (I'm mostly writing this bottom-up, so there's no UI yet). This is mostly because the current tree-manipulation architecture makes ASTs really painful to create without a parsing engine, so I'm making a basic parser before starting on the rest of the editor.

kneasle added a commit that referenced this pull request Sep 29, 2021
This was causing #119 to falsely fail the PR tests
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.

None yet

1 participant