py27-funcparserlib-0.3.6_1.txz


Advertisement

Description

py27-funcparserlib - Recursive descent parsing library based on functional combinators

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Quarterly amd64
Package filename py27-funcparserlib-0.3.6_1.txz
Package name py27-funcparserlib
Package version 0.3.6
Package release 1
Package architecture amd64
Package type txz
Category devel python
Homepage http://code.google.com/p/funcparserlib/
License MIT
Maintainer tota@FreeBSD.org
Download size 38.61 KB
Installed size 203.47 KB
Parser combinators are just higher-order functions that take parsers as
their arguments and return them as result values. Parser combinators are:
* First-class values
* Extremely composable
* Tend to make the code quite compact
* Resemble the readable notation of xBNF grammars
Parsers made with funcparserlib are pure-Python LL(*) parsers. It means that
it's very easy to write them without thinking about look-aheads and all that
hardcore parsing stuff. But the recursive descent parsing is a rather slow
method compared to LL(k) or LR(k) algorithms.
So the primary domain for funcparserlib is parsing little languages or external
DSLs (domain specific languages).
The library itself is very small. Its source code is only 0.5 KLOC, with lots
of comments included. It features the longest parsed prefix error reporting,
as well as a tiny lexer generator for token position tracking.
WWW: http://code.google.com/p/funcparserlib/
Options:
- DOCS: on

Alternatives

Package Version Architecture Repository
py27-funcparserlib-0.3.6_1.txz 0.3.6 i386 FreeBSD Ports Quarterly
py27-funcparserlib-0.3.6_1.txz 0.3.6 amd64 FreeBSD Ports Latest
py27-funcparserlib-0.3.6_1.txz 0.3.6 i386 FreeBSD Ports Latest
py27-funcparserlib - - -

Requires

Name Value
py27-setuptools = 40.8.0
python27 = 2.7.16

Download

Type URL
Mirror pkg.freebsd.org
Binary Package py27-funcparserlib-0.3.6_1.txz
Source Package devel/py-funcparserlib

Install Howto

Install py27-funcparserlib txz package:

# pkg install py27-funcparserlib

See Also

Package Description
py27-funcsigs-1.0.2.txz Python function signatures from PEP362
py27-functools32-3.2.3_1.txz Backport of the functools module from Python 3.2.3 for use on 2.7
py27-funcy-1.12.txz Fancy and practical functional tools
py27-funkload-1.17.1_1.txz Functional and load web tester
py27-furl-2.1.0.txz Small Python library that makes parsing and manipulating URLs easy
py27-fusefs-0.2.1_1.txz FUSE Python bindings
py27-fusepy-3.0.1.txz Simple ctypes bindings for FUSE
py27-future-0.17.1_1.txz Clean single-source support for Python 3 and 2
py27-futures-3.2.0.txz Backport of the concurrent.futures package from Python 3
py27-futurist-1.9.0.txz Useful additions to futures, from the future
py27-fuzzywuzzy-0.15.1_1.txz Fuzzy string matching using Levenshtein Distance
py27-fypp-2.1.1_1.txz Python powered preprocessor
py27-gaeutilities-1.4_1.txz Utility classes to make working with Google App Engine easier
py27-gambit-elasticsearch-0.1.6.txz Micro library for performing multi queries in elasticsearch
py27-game-1.9.6_1.txz Module designed to write games in Python
Advertisement
Advertisement