E&S CVS Commit: SCALE - Created a new project for SCALE - the Syntax for Configuration

pje at eby-sarna.com pje at eby-sarna.com
Sun Sep 4 03:07:00 EDT 2005


Author: pje
Date: Sun Sep  4 03:06:35 2005
New Revision: 2086

URL: http://svn.eby-sarna.com?rev=2086&view=rev
Log:
Created a new project for SCALE - the Syntax for Configuration
And Language Extensions.  So far, this just includes a nifty
generic parser for "Python-like" languages.  One of the examples
that shows the power of the parser is a 7-line Python code 
reformatter that can reindent Python code without changing its
semantics, properly handling comments, multi-line strings,
continued lines, and much much more.  The actual SCALE mini-
language will be implemented atop the generic parser, and it
should be pretty easy to create other domain-specific languages
(like parser generators and other code generators) atop it as
well.

Added:
    SCALE/   (with props)
    SCALE/scale/
    SCALE/scale/__init__.py   (with props)
    SCALE/scale/dsl.py   (with props)
    SCALE/scale/dsl.txt   (with props)
    SCALE/scale/test_dsl.py   (with props)
    SCALE/setup.py   (with props)




More information about the source-changes mailing list