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

Parser updates #358

Merged
merged 19 commits into from
Jan 21, 2025
Merged

Parser updates #358

merged 19 commits into from
Jan 21, 2025

Conversation

simerplaha
Copy link
Member

@simerplaha simerplaha commented Jan 20, 2025

  • Parser updates.
  • Performance: Notice ExpressionParser.parse is called in multiple places where an Expression is required. The number of expression parsers executed need to be narrowed down to only the required expressions. For example, parsing a for expression with while expression for(while(); ....) is unnecessary. This optimisation is not a priority for now.
  • Integration with CodeProvider can begin. Remaining parsers like enum, abstract, mapping, braces syntax etc., will be added later.
  • Tests for some are still pending.
  • Towards Parser errors prevent CodeProvider execution (completion, goto definition etc) #104.

@simerplaha simerplaha requested a review from tdroxler January 20, 2025 03:54
@simerplaha simerplaha merged commit 7fc5e41 into master Jan 21, 2025
3 checks passed
@simerplaha simerplaha deleted the parser_updates branch January 21, 2025 00:04
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.

2 participants