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.
from setuptools import setup, find_packages setup( name="SCALE", version="0.0.1", packages=find_packages(), package_data = {'':['*.txt']}, test_suite="scale.test_dsl.test_suite", )
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |