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

refactor statement parser #35

Merged
merged 2 commits into from
Sep 21, 2023
Merged

refactor statement parser #35

merged 2 commits into from
Sep 21, 2023

Conversation

psteinroe
Copy link
Collaborator

What kind of change does this PR introduce?

  • replace logos with custom regex parser in statement parser
  • refactor source parser to allow nested parsing

fixes #33

What is the current behavior?

source files with nested statements (e.g. create function) are not parsed.

What is the new behavior?

The source is properly cut into its statement, even when there is a create function statement in it.

- replace logos with custom regex parser in statement parser
@psteinroe psteinroe merged commit f25f23a into main Sep 21, 2023
1 check passed
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.

Fix SourceFileParser for nested statements
1 participant