py27-funcparserlib-0.3.6.tgz


Advertisement

Description

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

Property Value
Distribution NetBSD 7.0
Repository NetBSD i386
Package filename py27-funcparserlib-0.3.6.tgz
Package name py27-funcparserlib
Package version 0.3.6
Package release -
Package architecture i386
Package type tgz
Category devel
Homepage https://github.com/vlasovskikh/funcparserlib
License mit
Maintainer -
Download size 23.79 KB
Installed size 145.17 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.

Alternatives

Package Version Architecture Repository
py27-funcparserlib-0.3.6.tgz 0.3.6 amd64 NetBSD
py27-funcparserlib - - -

Requires

Name Value
py27-setuptools >= 0.8
python27 >= 2.7.1nb2

Download

Type URL
Mirror ftp.netbsd.org
Binary Package py27-funcparserlib-0.3.6.tgz
Source Package py27-funcparserlib

Install Howto

Install py27-funcparserlib tgz package:

# pkg_add py27-funcparserlib

See Also

Package Description
py27-funcsigs-1.0.2.tgz Python function signatures package for Python 2.6, 2.7 and 3.2+
py27-functools32-3.2.3.2.tgz Backport of the functools module from Python 3.2.3
py27-furl-1.2.1.tgz URL manipulation made simple
py27-fuse-bindings-0.2.1.tgz Python bindings for FUSE and refuse
py27-future-0.17.1.tgz Clean single-source support for Python 3 and 2
py27-futures-3.2.0.tgz Library brings asynchronous computations from Python 3.x
py27-gammu-2.12.tgz Python bindings for gammu
py27-gandi.cli-0.19.tgz Command line interface for Gandi.net
py27-gcs-oauth2-boto-plugin-2.2.tgz Boto auth plugin for Google Cloud Storage
py27-gdal-2.4.1.tgz Translator library for raster geospatial data formats, Python binding
py27-gdata-2.0.18.tgz Google Data API Python client library
py27-gdbm-2.7.16nb1.tgz Python interface to gdbm - GNU database manager
py27-gds-1.3.1.tgz Python module for creating GDSII stream files
py27-gdsCAD-0.4.5.tgz Package for creating, reading, and manipulating GDSII layout files
py27-generate-2.8.tgz Python interface to Generate
Advertisement
Advertisement