checkpoint
authoradam <adam@megacz.com>
Thu, 22 Dec 2005 03:36:52 +0000 (22:36 -0500)
committeradam <adam@megacz.com>
Thu, 22 Dec 2005 03:36:52 +0000 (22:36 -0500)
darcs-hash:20051222033652-5007d-6e316b6c5a48c4844c355707590ab7f88a8fdbfe.gz

TODO
tests/meta.g
tests/regression.tc

diff --git a/TODO b/TODO
index 0ec9353..f3b5856 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,6 +1,13 @@
 _____________________________________________________________________________
 Immediately
 
+  - Sensible tree-printout
+  - make Tib.Block extend Tree<>
+  - refine TIB
+      - documentation markup
+
+  - more natural phrasing of metagrammar?
+
   - finalize metagrammar and rdp-op's
 
   - Lay down the law on the different kinds of Sequence productions
index 64f18f9..8a5b7e1 100644 (file)
@@ -1,5 +1,6 @@
 s         ::=  ws grammar ws                  => "gram"
 ws       !::=  w**
+wp       !::=  w++
 grammar   ::=  r +/ ws                        => "grammar"
 
 r         ::=  word  ^"::=" alternatives /ws
@@ -14,7 +15,7 @@ conjuncts     ::=  sequence
 ps          ::= e*/ws                              => "ps"
               | (e+/ws ws)? "^" quoted (ws e+/ws)? => "ps2"
 psx         ::= ps
-              > ps ^"/" e /ws
+              | ps wp ^"/" ws e
 sequence    ::= psx
               | psx ^"=>" (word|quoted) /ws
 
index 69dc06f..0d4b8d4 100644 (file)
@@ -25,7 +25,7 @@ tibcase {
   hello 
     there
     how
-      are
+      { are }
 ";
     output "yep";