aboutsummaryrefslogblamecommitdiff
path: root/devel/py-simpleparse/pkg-descr
blob: 42cb95795a2b90e17ce222091aa52f4a40772f88 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                              
SimpleParse is a BSD-licensed Python package providing a simple parser
generator for use with the mxTextTools text-tagging engine. SimpleParse allows
you to generate tagging tables for use with the text-tagging engine directly
from your EBNF grammar.

Unlike most parser generators, SimpleParse generates single-pass parsers
(there is no distinct tokenization stage), an approach taken from the
predecessor project (mcf.pars) which attempted to create "autonomously parsing
regex objects". The resulting parsers are not as generalized as those created
by, for instance, the Earley algorithm, but they do tend to be useful for the
parsing of computer file formats and the like (as distinct from natural
language and similar "hard" parsing problems).

In addition to the parser generator, the SimpleParse project includes a
sub-project to create a modified version of the mxTextTools engine which
reorganizes the code to allow for certain common EBNF constructs.

WWW: http://simpleparse.sourceforge.net/