mingodad opened a new issue, #31612:
URL: https://github.com/apache/doris/issues/31612

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   Using a script to convert (with some manual fixes) `sql_parser.cup` to an 
`EBNF` understood by (IPV6) https://www.bottlecaps.de/rr/ui or (IPV4) 
https://rr.red-dove.com/ui to generate a nice navigable railroad diagram that 
can be used to document/develop/debug this project grammar.
   
   Follow the instructions shown bellow at the top:
   ```
   //
   // EBNF to be viewd at
   //   (IPV6) https://www.bottlecaps.de/rr/ui
   //   (IPV4) https://rr.red-dove.com/ui
   //
   // Copy and paste this at one url shown above in the 'Edit Grammar' tab
   // then click the 'View Diagram' tab.
   //
   ...
   ```
   Attached zip containing the `EBNF` to be used to generate the railroad 
diagram:
   
[doris-fe-sql_parser.cup.ebnf.zip](https://github.com/apache/doris/files/14446918/doris-fe-sql_parser.cup.ebnf.zip)
   
   
   ### Use case
   
   Help document, develop, debug this project grammar.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to