-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Component: Parsing, Pretty-Printing #5259
Comments
Copying this from some thoughts I posted on Discord recently:
Paul's response:
I don't think there's anything to do here, and we're close to a successful use of tree-sitter such that we'll be able to abandon our old F#-based parser, but I think it's worth reflecting here more, if we're doing the right thing fundamentally. |
This Issue exists to collect many items that relate to Dark's parser(s), pretty-printer(s), name resolution, etc.
Here's our current state:
dark-classic
, we didn't have a parser used for user codeThese are tasks currently available to be worked on:
tree-sitter-darklang/test/corpus
, and fail in CI upon seeing unformatted tree-sitter test files (note: this task is probably the lowest-hanging-fruit here, with no blockers)tree-sitter
nodes (at time of writing,parser.dark
)Once the tree-sitter grammar and parser has 'caught up' with our full language:
Once that is done, we can tackle the fun stuff:
!
?
to language, to assist with ergonomic error-handling@paul.module1.module2
-like syntax, rather thanPACKAGE.Paul.Module1.Module2
List
typeAll of these tasks are worth some discussion, either here or in Discord, before starting.
The text was updated successfully, but these errors were encountered: