Overview

funcparserlib

A recurisve descent parsing library based on functional combinators.

Installation

The funcparserlib library is installed via the standard Python installation tools pip and distribute:

$ pip install funcparserlib

You can also download the source code manually and install it using:

$ python setup.py install

It is also possible to run tests via unittest, nosetests or tox:

$ python -m unittest discover funcparserlib.tests $ nosetests funcparserlib.tests $ tox

Documentation

The comprehensive [funcparserlib Tutorial][1] is available as ./doc/Tutorial.md.

A short intro to funcparserlib can be found in the [Nested Brackets Mini-HOWTO][2], see ./doc/Brackets.md.

See also comments inside the modules funcparserlib.parser and funcparserlib.lexer or generate the API docs from the modules using pydoc.

There a couple of examples available in ./examples directory:

  • GraphViz DOT parser
  • JSON paser

See also [the changelog][3] and [FAQ][4].

[1]: Tutorial [2]: Brackets [3]: Changes [4]: FAQ

<!-- vim:set ft=markdown tw=80: -->

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.