25 projects tagged "General"
LEPL is a recursive descent parser library written in Python. It is based on parser combinator libraries popular in functional programming, but also exploits Python language features. Operators provide a friendly syntax, and the consistent use of generators supports full backtracking and resource management. Backtracking implies that a wide variety of grammars are supported; appropriate memoisation ensures that even left-recursive grammars terminate.
OOoPy is a Python library for modifying OpenOffice.org documents. It provides a set of transformations on the OOo XML format using the ElementTree XML Library. Transformations included are a mail merge application and the concatenation of documents with formatting intact. The framework supports easy creation of new transformations.
uEdit is a simple plain text editor with useful custom features. It can include existing text files and the output of AppleScripts that generate text parts. Text file can be created from templates, and debugging features are included for Perl, Python, and HTML. Actions are also provided for HTML, AppleScript, JavaScript, CSS, and text manipulation scripts.
Yappy provides a lexical analyser and a LR parser generator for Python applications. Currently it builds SLR, LR(1), and LALR(1) parsing tables. Tables are kept in Python shelves for use in parsing. Some ambiguous grammars can be handled if priority and associativity information is provided.