X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=TODO;h=b383c906e6bdf26d9821f16bffe21773a1da75ab;hp=3e67a2ea84ad521ccecfe58a5b03f8e7641fb70a;hb=90500a338733b6ba0d5b9c0cdc5a7afea38173ae;hpb=c4431d19cc5ddaae29d22c8c56366b53b0bad352 diff --git a/TODO b/TODO index 3e67a2e..b383c90 100644 --- a/TODO +++ b/TODO @@ -2,34 +2,22 @@ _____________________________________________________________________________ Immediately - Performance - - - Next target: TopologicalBag (make it wickedfast: preoptimize) - - - Forest: keep() and valid() -- can we do this with states - rather than subtrees? - - hash Long->long: it's all bogus - * huge performance improvement (try for more) * pick back up cleaning up end of Parser.java (Reduction) - * some weird edge cases; check last regression test, 'make doc' + - [more] sensible tree-printout - - Sensible tree-printout - - make Tib.Block extend Tree<> + - revamp Tib.Block (do it all in the parser using indent/dedent?) - more natural phrasing of metagrammar? - - finalize metagrammar and rdp-op's - - Deal with the problem of zero-rep productions and whitespace insertion - - should Union.add() be there? - should Atom.top() be there? - - fix the location stuff, it's broken - decent/better error messages - - substring parsing required + - fix the location stuff, it's broken - write some grammars - Java grammar @@ -37,11 +25,12 @@ Immediately - URL (RFC) - RFC2822 (email message/headers) - - PL-PATR? ______________________________________________________________________________ Soon + - substring parsing for better error messages + - clean up the whole Walk situation - "lift" cases: @@ -63,6 +52,8 @@ Soon ______________________________________________________________________________ Later + - Partly-Linear-PATR? (O(n^6) unification grammar) + - Implement a k-token peek buffer (for each state, see if it "dead ends" during the next k Phases based solely on state -- ignoring result SPPF) @@ -136,3 +127,17 @@ Neat Ideas - Rekers & Koorn note that GLR Substring Parsing can be used to do really elegant and generalized "autocompletion". + + +______________________________________________________________________________ +Ideas for the Future + +- Incremental parse table construction +- "lazy GLR" and "lazy trees" -> language with first-class CF matching + - perhaps linear boolean grammars instead? (linear time, quad space) +- Forest parsing => chained parsers +- unification parsing, attributes, etc +- RRP grammars? +- Take another stab at maximal-match? Nonterminal not-followed-by is + too strong. +- Error recovery based on substring parsing