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

Update to generated listeners for preprocessor & parser #3784

Merged
merged 1 commit into from
Jul 29, 2023

Conversation

hs-apotell
Copy link
Collaborator

Update to generated listeners for preprocessor & parser

  • Updated grammar files to fix a few spelling errors
  • Renamed a few tokens in preprocessor so they mean the same as in parser
  • Renamed a few tokens in preprocessor grammar so they conflict across lexer and parser.
  • Generate independent entries for tokens & rules in preprocessor & parser in VObjectTypes.h
  • All typenames from preprocessor are now prefixed with 'pp' and the ones from parser are prefixed with 'pa'
  • Merge all listener logic into generate_parser_listener
  • Renamed AstListener to ParseTreeListener. Former was specific to Surelog AST only, and latter handles both preprocessor & parser tree. Also, planned to handle the merged preprocessor & parser tree.

* Updated grammar files to fix a few spelling errors
* Renamed a few tokens in preprocessor so they mean the same as in
  parser
* Renamed a few tokens in preprocessor grammar so they conflict across
  lexer and parser.
* Generate independent entries for tokens & rules in preprocessor &
  parser in VObjectTypes.h
* All typenames from preprocessor are now prefixed with 'pp' and the
  ones from parser are prefixed with 'pa'
* Merge all listener logic into generate_parser_listener
* Renamed AstListener to ParseTreeListener. Former was specific to
  Surelog AST only, and latter handles both preprocessor & parser tree.
  Also, planned to handle the merged preprocessor & parser tree.
@alaindargelas alaindargelas merged commit 46378a3 into chipsalliance:master Jul 29, 2023
60 of 61 checks passed
@hs-apotell hs-apotell deleted the parsetree branch July 29, 2023 20:55
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