pylangparser - Simple language parsing from Python. Project provides classes
for parsing formal languages in an easy way. Without using any external
libraries, only unittest, re and pprint. There is a Lexer and a Parser class.
The lexer produces list of tokens that the Parser then uses to build the AST.
The lexer can also be used as a stand alone component. There is support for
building customized AST's. The grammars are defined directly into the Python
code.
In the examples folder you will find both simple example scripts demonstrating
basic usage of the parser and some more useful and complex ones. For example,
there is a script for parsing C source code and building and iterating the AST.
Categories
Software DevelopmentFollow pylangparser
You Might Also Like
BrightGauge, a ConnectWise solution, was started in 2011 to fill a missing need in the small-to-medium IT Services industry: a better way to manage data and provide the value of work to clients. BrightGauge Software allows you to display all of your important business metrics in one place through the use of gauges, dashboards, and client reports. Used by more than 1,800 companies worldwide, BrightGauge integrates with popular business solutions on the market, like ConnectWise, Continuum, Webroot, QuickBooks, Datto, IT Glue, Zendesk, Harvest, Smileback, and so many more. Dig deeper into your data by adding, subtracting, multiplying, and dividing one metric against another. BrightGauge automatically computes these formulas for you. Want to show your prospects how quick you are to respond to tickets? Show off your data with embeddable gauges on public sites.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of pylangparser!