X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=TODO;h=c7ad150a242c07c529b5ec58bbbccdae6117e708;hp=31d33a05c3af41cb55dcf54cddcab4ef1cf0134d;hb=ceca07b4020b5dd051e0d01767a35842dec2ca74;hpb=f33c05adc5aa3dd324c5352cdbd6f4b55359acad diff --git a/TODO b/TODO index 31d33a0..c7ad150 100644 --- a/TODO +++ b/TODO @@ -9,24 +9,19 @@ Immediately - hash Long->long: it's all bogus * 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 @@ -34,11 +29,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: @@ -60,6 +56,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) @@ -133,3 +131,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