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
ERIC4_API(1)						      General Commands Manual						      ERIC4_API(1)

NAME
eric4_api - eric4 API generator SYNOPSIS
eric4_api [options] files... where files can be be either Python modules, package directories or ordinary directories. DESCRIPTION
This manual page documents briefly the eric4_api command. This manual page was written for the Debian distribution because the original program does not have a manual page. eric4_api scans Python source code to generate API descriptions files which are used to as tooltips and autocompletion suggestions by the QScintilla editor widget in eric4. OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. -b name or --base name Use the given name as the name of the base package. -h or --help Show this help and exit. -o filename or --output=filename Write the API information to the named file. A '%L' placeholder is replaced by the language of the API file (see --language). --oldstyle Generate API files for QScintilla prior to 1.7. -p or --private Include private methods and functions. -R, -r or --recursive Perform a recursive search for Python files. -t ext or --extension = ext Add the given extension to the list of file extensions. This option may be given multiple times. -V or --version Show version information and exit. -x directory or --exclude=directory Specify a directory basename to be excluded. This option may be repeated multiple times. --exclude-file=pattern Specify a filename pattern of files to be excluded. This option may be repeated multiple times. -l language or --language=language Generate an API file for the given programming language. Supported programming languages are: * Python * Python3 * Ruby The default is 'Python'. This option may be repeated multiple times. SEE ALSO
eric4(1), eric4_compare(1), eric4_configure(1), eric4_diff(1), eric4_doc(1), eric4_editor(1), eric4_helpviewer(1), eric4_iconeditor(1), eric4_plugininstall(1), eric4_pluginrepository(1), eric4_pluginuninstall(1), eric4_qregexp(1), eric4_re(1), eric4_sqlbrowser(1), eric4_tray(1), eric4_trpreviewer(1), eric4_uipreviewer(1), eric4_unittest(1), eric4_webbrowser(1) AUTHOR
This manual page was written by Torsten Marek <shlomme@gmx.net>, for the Debian project (but may be used by others). January 31, 2010 ERIC4_API(1)