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

Parsing Stack Enhancements #120

Open
jaredponn opened this issue Oct 19, 2023 · 0 comments
Open

Parsing Stack Enhancements #120

jaredponn opened this issue Oct 19, 2023 · 0 comments
Labels
enhancement New feature or request frontend

Comments

@jaredponn
Copy link
Collaborator

jaredponn commented Oct 19, 2023

This issue collects some internal discussion regarding possible improvements to the parsing stack.

Slack discussion identified the following tasks (discussion has been summarized):

  1. Iterate on syntax in the current parsing stack, so we can settle on something aesthethicaly pleasing for users.

    For example:

    • remove sum/records/prod keywords and just rely on RHS to be uniquely parseable { record }, (prod), | sum |. This would be helpful for the issue identified here

    • special unit type syntax, MaybeInt = Maybe Int (which would now be prod MaybeInt = (Maybe Int))

    • standalone derive statements are a bit verbose (rather why not just derive Eq, Json, PlutusData)

  2. Update the formatter (I think that's basic stuff we need for automated code quality)

    • lbf format should be tested with a forall source. meaningOf lbf format source = meaningOf source,
  3. treesitter grammar to have highlighting and symbol extractions in GH and editors for .lbf. files (improvement of life)

  4. Align the parsing stack with something we fund robust and aligned with best practices (whilst making sure our error messages are amazing). Related issue comment

@jaredponn jaredponn added enhancement New feature or request frontend labels Oct 19, 2023
@jaredponn jaredponn changed the title Parsing Stack Improvements Parsing Stack Enhancements Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend
Projects
Status: Todo
Development

No branches or pull requests

1 participant