Skip to content

evhub/cpyparsing

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

cPyparsing

Cython implementation of PyParsing created for use in Coconut and Undebt.

Just pip install cpyparsing then import cPyparsing as pyparsing or otherwise use cPyparsing however you would normally use pyparsing.

cPyparsing is currently only up-to-date with pyparsing==2.4.7cPyparsing has no current plans to support any pyparsing>=3 features. cPyparsing supports Python 2.6+ on Python 2 and Python 3.3+ on Python 3.

Additionally, cPyparsing supports an incremental mode that can be enabled with ParserElement.enableIncremental(). In incremental mode, if the same grammar is used to first parse some string, then later parse another string that shares a common prefix or suffix, incremental mode will produce substantial performance improvements. Note that incremental mode does not fully preserve parse exception error messages.