X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=TODO;h=b720e81803213196ce68018c1bd08a467a74b755;hp=d7afed210b1b4c08633226d90b5e1fededf516d4;hb=c2f1ce888172342cfd428355ee01326dd37c36eb;hpb=45d799349e635f1a99e3974e4504a43d5a7aaf33 diff --git a/TODO b/TODO index d7afed2..b720e81 100644 --- a/TODO +++ b/TODO @@ -1,39 +1,45 @@ _____________________________________________________________________________ Immediately +// use 'a'-'z' or 'a-z' instead of [a-z]? +// EOF token? +// #include (with renaming?) -- If a top-level rule has labels but no head-tag, like this - Foo = a:Bar b:Baz - then infer the name of the rule it belongs to + - de-genericize? -create( $c:{...}, class ) = - return create($c:{...}) + - better toString() methods all around... -create( h:{...}, class ) = + - cleanup: Forest, ParseFailed, Parser, Union, (just a bit: GSS,Node) -create( , String) + - circular gramars? + s = A + A = A | "b" + - foo.add(x) + foo.add(y.andnot(x)) ==> this is broken + - Annotation Tutorial -create( _:{...}, String) = treat as char[] -create( _:{...}, c[] ) = { create(.,c), create(.,c), ... } + .................................................. -create( $c:{...} ) = + - serializable parse tables? + - Treewalker code compiler? +______________________________________________________________________________ +v1.1 - - clean up the visualization (?) - - - I still don't like Atom.Infer and Atom.Invert... - - - better ambiguity debugging tools - - - ParseFailed, GSS, Walk, Parser, Sequence, Forest + - precedes restrictions ("<-") + - MUST HAVE BETTER ERROR MESSAGES + - use for developing java15.g + - java15.g + - once this is ready, do big announcement + - broader regression testing (for stuff like error messages, etc) + - More topology untangling [later] + - grammar highlighting? + - Forest needs a "manual access" API + - the unwrap bit in Forest makes it really hard to expose an API for forests - - Fix the metagrammar (really?) - - evil problems with (x y? z /ws) - - copyright notices - - documentation ______________________________________________________________________________ -v1.1 +v1.2 - finalize metagrammar and rdp-op's - write some grammars @@ -43,8 +49,6 @@ v1.1 - RFC2822 (email message/headers) - clean up the whole Walk situation (?) - - what if Tree<> could unwrap itself? - ______________________________________________________________________________ Soon @@ -56,10 +60,6 @@ Soon - eliminated statically? - substring parsing for better error messages - - "lift" cases: - - right now I can only lift the last child in a forest... begs - the question of what the right representation for Forests is - if we need to be able to do lift operations on it. - Parameterized LR - "Regular Right Part" grammars (NP Chapman, etc) @@ -75,6 +75,9 @@ Soon ______________________________________________________________________________ Later + - understand and implement the RNGLR "kernel state" optimization. + The _Practical Early Parsing_ paper may help. + - Partly-Linear-PATR? (O(n^6) unification grammar) - Implement a k-token peek buffer (for each state, see if it "dead