Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython

woodpyle is unavailable in PyPM, because there aren't any builds for it in the package repositories. Click the linked icons to find out why.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
v0.0.0 Failed View build log
Linux (32-bit)
v0.0.0 Failed View build log
v0.0.0 Failed View build log
Linux (64-bit)
v0.0.0 Failed View build log
v0.0.0 Failed View build log
 
Links
License
BSD
Lastest release
version v0.0.0 on Nov 22nd, 2012

I needed a language grammar parser for the plywood project, and modgrammar looked like it would be perfect, except I couldn't get the simplest of grammars to work. pyparsing is excellent, but doesn't give me objects back, only lists and strings - I need more than that.

I like writing parsers, and I know how I want this one to work, so screw it, I'll do it myself.

INSTALLATION

$ pip install woodpyle

USAGE

from woodpyle import *

# basic grammar building blocks:
#   Word/W, Literal/L, Regex/R
# advanced building blocks:
# repetition:
#   ZeroOrMore, OneOrMore, Optional
#   Any, NextIs, NextIsNot
# language building blocks
#   QuotedString, Number, Integer, Float, Hexadecimal, Octal, Binary
#   LineComment, BlockComment, Block, IndentedBlock
# location
#   NextIs, PreviousWas, NextIsNot, PreviousWasNot
#   WordStart, WordEnd, LineStart, LineEnd, StringStart, StringEnd

LICENSE

Author:Colin Thomas-Arnold
Copyright:2012 Colin Thomas-Arnold <http://colinta.com/>

Copyright (c) 2012, Colin Thomas-Arnold All rights reserved.

See LICENSE for more details (it's a simplified BSD license).

Subscribe to package updates

Last updated Nov 22nd, 2012

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.