]> hydra-www.ietfng.org Git - dyna2/commitdiff
doc tweaks.
authortimv <tim.f.vieira@gmail.com>
Mon, 17 Dec 2012 20:48:05 +0000 (15:48 -0500)
committertimv <tim.f.vieira@gmail.com>
Mon, 17 Dec 2012 20:48:05 +0000 (15:48 -0500)
bin/interpreter.py

index 403231547e0c4fa01a8b79da4045fd22227eeb6f..470c80840af37201f11819dc7d65893778e8c623 100644 (file)
@@ -1,7 +1,4 @@
-"""
-Work in progress: standard library of "stuff" the "dyna executable" will make
-use of.
-"""
+#!/usr/bin/env python
 
 #from debug import ultraTB2; ultraTB2.enable()
 #from debug import saverr; saverr.enable(editor=True)
@@ -13,7 +10,6 @@ from utils import red, green, blue, magenta
 from defn import agg_bind, call
 
 
-
 # TODO: as soon as we have safe names for these things we can get rid of this.
 class chart_indirect(dict):
     def __missing__(self, key):
@@ -42,6 +38,8 @@ def dump_charts(out=sys.stdout):
         print >> out, chart[x]
         print >> out
 
+# maybe the chart should store pretty printed term and a reference to the
+# aggregator (each item get's its own aggregator to avoid a hash lookup w).
 
 class Chart(object):