LEPL 2.0 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News LEPL 2.0 (Default branch)
# 1  
Old 03-05-2009
LEPL 2.0 (Default branch)

LEPL is a recursive descent parser library writtenin Python. It is based on parser combinatorlibraries popular in functional programming, butalso exploits Python language features. Operatorsprovide a friendly syntax, and the consistent useof generators supports full backtracking andresource management. Backtracking implies that awide variety of grammars are supported, but onlyLL(k) are guaranteed to terminate.License: GNU Lesser General Public License (LGPL)Changes:
This release introduces several new features while keeping the same basic syntax for grammars (expressed as Python code). These include: evaluation via trampolining, which avoids any limits on recursion due to the small Python stack; memoisation, allowing both packrat parsing (Norvig 1991) and left-recursive grammars (Frost and Hafiz 2006); matcher graph rewriting, allowing manipulation of the grammar before parsing starts.Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
CYTHON(1)							   User Commands							 CYTHON(1)

NAME
Cython - compile Cython code (.pyx) into C to build a Python extension SYNOPSIS
cython [options] sourcefile.{pyx,py} ... DESCRIPTION
Cython (http://cython.org) is a compiler for code written in the Cython language. Cython is based on Pyrex by Greg Ewing. OPTIONS
-V, --version Display version number of cython compiler -l, --create-listing Write error messages to a listing file -I, --include-dir <directory> Search for include files in named directory (multiple include directories are allowed). -o, --output-file <filename> Specify name of generated C file -t, --timestamps Only compile newer source files -f, --force Compile all source files (overrides implied -t) -q, --quiet Don't print module names in recursive mode -v, --verbose Be verbose, print file names on multiple compilation -p, --embed-positions If specified, the positions in Cython files of each function definition is embedded in its docstring. --cleanup <level> Release interned objects on python exit, for memory debugging. Level indicates aggressiveness, default 0 releases nothing. -w, --working <directory> Sets the working directory for Cython (the directory modules are searched from) --gdb Output debug information for cygdb -D, --no-docstrings Strip docstrings from the compiled module. -a, --annotate Produce a colorized HTML version of the source. --line-directives Produce #line directives pointing to the .pyx source --cplus Output a C++ rather than C file. --embed[=<method_name>] Generate a main() function that embeds the Python interpreter. -2 Compile based on Python-2 syntax and code semantics. -3 Compile based on Python-3 syntax and code semantics. --fast-fail Abort the compilation on the first error --warning-error, -Werror Make all warnings into errors --warning-extra, -Wextra Enable extra warnings -X, --directive <name>=<value>[,<name=value,...] Overrides a compiler directive Cython version 0.15.1 January 2012 CYTHON(1)