Skupiny Google už nepodporují nová předplatná ani příspěvky Usenet. Historický obsah lze zobrazit stále.

[Ann] SimpleParse 2.0.0a2 available

0 zobrazení
Přeskočit na první nepřečtenou zprávu

Mike C. Fletcher

nepřečteno,
10. 7. 2002 1:26:5210.07.02
komu:
URL:
http://simpleparse.sf.net/

Release Notes:
The alpha-2 release is basically to let people play with the new version,
it's not production quality code by a long shot.

What is SimpleParse (from the website):

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 to be
readily implemented.


Enjoy yourselves,
Mike
_______________________________________
Mike C. Fletcher
http://members.rogers.com/mcfletch/


Gerhard Haering

nepřečteno,
10. 7. 2002 7:46:0810.07.02
komu:
In article <mailman.1026278895...@python.org>, Mike C. Fletcher wrote:
> URL:
> http://simpleparse.sf.net/

What am I doing wrong if almost all the parsers I try creating with SimpleParse
1.0 get in an infite loop when it tries to compile them?

I'm asking because I'd really like to use it - I really like the syntax for its
rules.

Gerhard
--
mail: gerhard <at> bigfoot <dot> de registered Linux user #64239
web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))

0 nových zpráv