#print >> html, '<h3>Update %s</h3>' % (u,)
#print >> html, '<div class="box">%s</div>' % svg
+
print
print red % '#________________'
print red % '# storage'
for label, M, o in modes_needed:
print label, display_mode_nocolor(M, o)
+ cmd = """ghc -isrc Dyna.Backend.Python -e 'processFile "%s"' """ % dynafile
+ assert 0 == os.system(cmd), 'command failed:\n\t' + cmd
+
+
print
print 'wrote', html.name
based on implementation by George Sakkis
http://mail.python.org/pipermail/python-list/2005-March/312004.html
"""
+ e = re.compile('^\s*;.*?\n', re.M).sub('', e) # remove comments
+
es, stack = [], []
for token in re.split(r'([()])|\s+', e):
if token == '(':
--- /dev/null
+-- Bring together all of our test suites
+
+-- XXX temporary, use Dyna.Test.Main as soons as timv has upgrades ghc.
+
+module Dyna.Test.Main2 where
+
+import Test.Framework
+import qualified Dyna.ParserHS.Selftest as DPHS
+import qualified Dyna.XXX.TrifectaTests as DXT
+
+main :: IO ()
+main = defaultMain
+ [ DPHS.selftest
+ , DXT.selftest
+ ]