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.

Project Samples

Project Activity

See All Activity >

Follow pylangparser

pylangparser Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pylangparser!

Additional Project Details

Registered

2015-06-21