GitXplorerGitXplorer
m

parser-shootout

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
818bace0edf4d5f85f77eae35ead89f630a7ed3f

Fix typo

mmdboom committed 12 years ago
Unverified
ad5d074a2cc151149b5913e36f354438652f55f3

Fix typo

mmdboom committed 12 years ago
Unverified
65700f7f6e38c79af3491c8cfe1fd4da53e7049a

Initial commit

mmdboom committed 12 years ago

README

The README file for this repository.

This is a benchmark of some of the available Python parser tools as of May 2013.

The following upfront criteria were used to select the candidates:

1] Pure Python 2] Works on Python 2.6 - 3.3 3] Uses a straightforward and well-understood parser type (this is of course subjective) 4] Maintained somewhat currently - it should have a somewhat obvious and active community around it (again, subjective) 5] Is licensing compatible to be distributed with astropy

Tools tested:

  • pyparsing
  • PLY

Tools on the short list to try next:

  • parsing

Tools ruled out because they didn't meet the above criteria:

  • PyPEG (no Python 2.6 support)
  • Parsely (no Python 3.x support)
  • YAPPS (no Python 3.x support)
  • ANTLR (requires running a Java-based preprocessing step)
  • aperiot (no Python 2.6 support)
  • pydsl (GPL'd, no Python 2.6 support)
  • lepl (self-declared unsupported)
  • Rparse (GPL)
  • CodeTalker (Cython-based, no Python 3.x support)

For a good resource of parsers, see:

http://wiki.python.org/moin/LanguageParsing http://nedbatchelder.com/text/python-parsers.html