aboutsummaryrefslogtreecommitdiff
path: root/exyapps/runtime.py
diff options
context:
space:
mode:
Diffstat (limited to 'exyapps/runtime.py')
-rw-r--r--exyapps/runtime.py20
1 files changed, 15 insertions, 5 deletions
diff --git a/exyapps/runtime.py b/exyapps/runtime.py
index bcbf253..6c984b8 100644
--- a/exyapps/runtime.py
+++ b/exyapps/runtime.py
@@ -1,13 +1,23 @@
-# Yapps 2 Runtime, part of Yapps 2 - yet another python parser system
+# exyapps - yet another python parser system
# Copyright 1999-2003 by Amit J. Patel <amitp@cs.stanford.edu>
# Enhancements copyright 2003-2004 by Matthias Urlichs <smurf@debian.org>
+# Copyright 2011 by Association of Universities for Research in Astronomy
#
-# This version of the Yapps 2 Runtime can be distributed under the
-# terms of the MIT open source license, either found in the LICENSE file
-# included with the Yapps distribution
-# <http://theory.stanford.edu/~amitp/yapps/> or at
+# This software can be distributed under the terms of the MIT
+# open source license, either found in the LICENSE file or at
# <http://www.opensource.org/licenses/mit-license.php>
#
+# -----
+#
+# Changes from the debian version:
+# - indented with spaces, not tabs
+# - when you instantiate the parser object, you can pass in an object
+# data=XXX that will be available to the parser as self.data; this
+# is basically a hook to provide parser-global data.
+#
+# Note that this file is incorporated directly into the generated parser.
+# Take care when defining new file-global names because the generated
+# parser has its own globals.
"""Run time libraries needed to run parsers generated by Yapps.