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

Add full type support to Textmate scope selector parser in script/pegjs.js #37

Closed
2 tasks done
zm-cttae opened this issue Jun 5, 2023 · 0 comments · Fixed by #38
Closed
2 tasks done

Add full type support to Textmate scope selector parser in script/pegjs.js #37

zm-cttae opened this issue Jun 5, 2023 · 0 comments · Fixed by #38

Comments

@zm-cttae
Copy link
Member

zm-cttae commented Jun 5, 2023

⚡️️ Feature Request

  • I'm using the latest version of vscode-textmate-languageservice available.
  • I searched existing issues, open & closed. Yes, my feature request is new.

Is your feature request related to a problem?

  • As a: developer consuming the parser during internal development and maintenance,
  • I want to: replace any in PEGJS parser rule bodies with *Matcher types
  • So that: the parser is mostly if not fully typed.

Describe the solution you'd like

Use regular expressions and the new ts-morph type autogeneration from metadevpro/ts-pegjs#92.

Describe alternatives you've considered

Fix the type wiring in the pegconfig.json and use regexps to process the typed results.

/label ~feature-request

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

Successfully merging a pull request may close this issue.

1 participant