Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Railroad diagram of python's grammar
While creating a new parser, I produced a railroad diagram of python 3.8's syntax as described here. The diagram was drawn by the syntrax module. Needless to say that the conversion of the formal grammar to a railroad diagram is automated in my program... It is not perfect but it is understandable. Enjoy the pdf!
DeaD_EyE, Larz60+, snippsat And 1 others like this post

Attached Files
.pdf   python38-3.pdf (Size: 165.67 KB / Downloads: 47)
This is so cool Brewster!
Gribouillis likes this post
I updated the first post with a better version of the railroad diagram obtained by using syntrax 1.1 from the github source instead of the version 1.0 installed by pip.
The third version above is even cooler...

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Why grammar is import metulburr 7 2,724 Feb-19-2017, 12:24 AM
Last Post: ichabod801

Forum Jump:

Users browsing this thread: 1 Guest(s)