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 #132

Merged
merged 50 commits into from
Jul 19, 2024
Merged

Parser #132

merged 50 commits into from
Jul 19, 2024

Conversation

marcelfloe
Copy link
Contributor

@marcelfloe marcelfloe commented Jul 11, 2024

Closes #44

marcelfloe and others added 20 commits June 27, 2024 13:44
…ation.java for automatic testing of the definitions in the ucdl.yml file on startup.
Seems to work unless there will be new grammar changes.
Fixed problem with expecting <EOF> after each DEFINITION instead of START.
Also started implementing translation from javacc to AbstractSyntaxTree.
Fixed Exception-forwarding.
Replaced wrong ParseException with correct one.
Requires a lot of refactoring, but should work.
Fixed error forwarding inside SyntaxChecker.parseString().
Removed unnecessary import in UftosApplication.
Fixed consistency check for if-bodies.
Updated warning suppression in generated javacc-files.
Copy link
Contributor

@danieldietzler danieldietzler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't looked at the DefinitionParser yet but everything else looks super clean actually! Much better than I expected 😅

Copy link
Contributor

@danieldietzler danieldietzler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH I didn't completely understand (and thus validate) the logic of the parser. I tried my best and I think it looks good, but it's also very complex, so.... My focus was on readability and refactoring stuff for the most part

Copy link
Contributor

@danieldietzler danieldietzler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for putting all this effort into this!

@marcelfloe marcelfloe merged commit c9fcc07 into main Jul 19, 2024
3 checks passed
@marcelfloe marcelfloe deleted the parser branch July 19, 2024 11:41
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.

server: parser
3 participants