You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "mingodad (via GitHub)" <gi...@apache.org> on 2024/02/29 11:03:19 UTC

[I] Grammar railroad diagram [doris]

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: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] Grammar railroad diagram [doris]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed issue #31612: Grammar railroad diagram
URL: https://github.com/apache/doris/issues/31612


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] Grammar railroad diagram [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #31612:
URL: https://github.com/apache/doris/issues/31612#issuecomment-3287225570

   We're closing this issue because it hasn't been updated in a while.
   If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org