Path to this page:
./
textproc/py-parsimonious,
The fastest pure-Python PEG parser I could muster
Branch: CURRENT,
Version: 0.10.0,
Package name: py310-parsimonious-0.10.0,
Maintainer: pkgsrc-usersParsimonious aims to be the fastest arbitrary-lookahead parser written in pure
Python-and the most usable. It's based on parsing expression grammars (PEGs),
which means you feed it a simplified sort of EBNF notation. Parsimonious was
designed to undergird a MediaWiki parser that wouldn't take 5 seconds or a GB
of RAM to do one page, but it's applicable to all sorts of languages
Required to run:[
textproc/py-regex] [
lang/python310]
Master sites:
Filesize: 50.949 KB
Version history: (Expand)
- (2022-09-12) Updated to version: py310-parsimonious-0.10.0
- (2022-07-12) Updated to version: py310-parsimonious-0.9.0
- (2022-01-05) Updated to version: py39-parsimonious-0.8.1nb1
- (2021-10-07) Updated to version: py39-parsimonious-0.8.1
- (2021-02-07) Package added to pkgsrc.se, version py38-parsimonious-0.8.1 (created)
CVS history: (Expand)
2022-09-12 12:57:05 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-parsimonious: updated to 0.10.0
0.10.0
Fix infinite recursion in __eq__ in some cases. (FelisNivalis)
Improve error message in left-recursive rules. (lucaswiman)
Add support for range {min,max} repetition expressions (righthandabacus)
Fix bug in * and + for token grammars (lucaswiman)
Add support for grammars on bytestrings (lucaswiman)
Fix LazyReference resolution bug 134 (righthandabacus)
~15% speedup on benchmarks with a faster node cache (ethframe)
Warning
This release makes backward-incompatible changes:
Fix precedence of string literal modifiers u/r/b. This will break grammars with \
no spaces between a reference and a string literal. (lucaswiman)
|
2022-07-12 10:27:34 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-parsimonious: updated to 0.9.0
0.9.0
Add support for Python 3.7, 3.8, 3.9, 3.10 (righthandabacus, Lonnen)
Drop support for Python 2.x, 3.3, 3.4 (righthandabacus, Lonnen)
Remove six and go all in on Python 3 idioms (Lonnen)
Replace re with regex for improved handling of unicode characters in regexes \
(Oderjunkie)
Dropped nose for unittest (swayson)
Grammar.__repr__() now correctly escapes backslashes (ingolemo)
Custom rules can now be class methods in addition to functions (James Addison)
Make the ascii flag available in the regex syntax (Roman Inflianskas)
|
2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595) |
Log message:
*: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
|
2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161) |
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
|
2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162) |
Log message:
textproc: Remove SHA1 hashes for distfiles
|
2021-02-07 21:10:18 by Adam Ciarcinski | Files touched by this commit (4) |
Log message:
py-parsimonious: added version 0.8.1
Parsimonious aims to be the fastest arbitrary-lookahead parser written in pure
Python-and the most usable. It's based on parsing expression grammars (PEGs),
which means you feed it a simplified sort of EBNF notation. Parsimonious was
designed to undergird a MediaWiki parser that wouldn't take 5 seconds or a GB
of RAM to do one page, but it's applicable to all sorts of languages
|