X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=TODO;h=07e6c74f4132b44c0743c83274cacd1f55ddf6fb;hp=29ca7f0a9c7d48f394f0a7102236ea301899dccd;hb=dce3af8d6974a6c5b05955703de2e983f112b765;hpb=78a166e98747ddeb79310ccba340f292fa8a6dca diff --git a/TODO b/TODO index 29ca7f0..07e6c74 100644 --- a/TODO +++ b/TODO @@ -1,14 +1,21 @@ + +- A new alternative (choice) operator that says "the compiler should + be able to statically determine that there is no ambiguity here" + +- Composable parsers (parser that generate output that is input to + future parsers). Use trees? + _____________________________________________________________________________ Immediately - - clean up util package + - keywordification (ie globally reject from all productions? + - generalized follow-by?) - - serializable parse tables? - - all that is required now is to separate Pos and Position + - clean up util package - - currently we GC the doomed stack when the parent dies... but we - should also GC the parent when the doomed stack dies if it was a - positive conjunct. + - currently we GC the doomed stack when the parent dies... but + [ideally] we should also GC the parent when the doomed stack dies + if it was a positive conjunct. - single-tree-return assumption - have a way to let question marks not be tagged? @@ -36,6 +43,16 @@ Immediately ______________________________________________________________________________ v1.1 +- use regression/least-squares/trend-prof to look for reductions whose + behavior is O(n^2)? (ie performed a number of times proportional to + the input consumed so far). + +- Optimizations: + - (x &~ y) => (x & z) + - string lookahead + - don't form result forests for negated productions + - early kills: (a &~ ... b ...) -> once "... b" is seen, "a" is dead + - MUST HAVE BETTER ERROR MESSAGES - use for developing java15.g - better ambiguity reporting