Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9201473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:01:01+00:00 2026-06-17T23:01:01+00:00

I would like to find a tool that auto-generates syntax diagrams from a bison

  • 0

I would like to find a tool that auto-generates syntax diagrams from a bison source file. Does anyone know of such a tool? This is a similar post but the answer left me with too many questions:

https://stackoverflow.com/questions/3141317/creating-diagram-of-grammar-bison

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T23:01:02+00:00Added an answer on June 17, 2026 at 11:01 pm

    There is this tool: https://www.bottlecaps.de/rr/ui but it requires EBNF. To be fair, EBNF makes the grammar much clearer, since it allows the direct representations of sequences of items which would have to be inferred from a bison source file. I believe there are tools which will attempt to do this inference, too.

    There’s also this tool: https://github.com/tabatkins/railroad-diagrams , which requires you to supply what is, in effect, an AST of the grammar (ideally, converted as per the previous one.) This might be a better option, since you can easily produce an AST of a bison grammar using, well, bison 🙂 and it should be easy to infer the sequence operators, or even to mark them.

    There are probably other tools floating around as well, but I suspect they will all have similar issues. The two tools I listed at least look nice (imo) for grammars of a normal size. You can find more links on Wikipedia.

    By the way, I suppose you know that recent bison version will produce DOT files describing the parsing states? (Use the -g option.) Those are of very little use for documenting grammars, and you need a lot of space if your grammar is anything approaching complicated, but they can also provide some useful information about the grammar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to find a tool/library that can take user-entered free format telephone
I'm trying to find a tool that generates HTML documentation for my Javascript source
I would like to find an API like Apache Commons that will easily and
I have a folder with many source code files. I would like to find
I'm working on a tool that will find the closest latitude/longitude position from a
I would like to find the distance of every pixel coordinate in an image
I would like to find out which version of an executable the CMD shell
I would like to find a way to store multiple addresses for one subject
I would like to find out is as3 is doing is doing anything in
I would like to find a way to see what happens while my XAML

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.