X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/32f0598d06d317a776da36103449127e7693983d..27b0ffea3e94600ddb0e4066cce525a49789da8e:/TODO diff --git a/TODO b/TODO index d4d2ce24..436fa0d3 100644 --- a/TODO +++ b/TODO @@ -5,6 +5,13 @@ From Franc,ois: should we keep the directory part in the CPP guard? +* Yacc.c: CPP Macros + +Do some people use YYPURE, YYLSP_NEEDED like we do in the test suite? +They should not: it is not documented. But if they need to, let's +find something clean (not like YYLSP_NEEDED...). + + * URGENT: Documenting C++ output Write a first documentation for C++ output. @@ -22,15 +29,8 @@ Some are really funky. For instance is really weird. Revisit them all. -* read_pipe.c -This is not portable to DOS for instance. Implement a more portable -scheme. Sources of inspiration include GNU diff, and Free Recode. - - -* value_components_used -Was defined but not used: where was it coming from? It can't be to -check if %union is used, since the user is free to $n on her -union, doesn't she? +* GLR & C++ +Currently, the GLR parser cannot compile with a C++ compiler. * Report @@ -86,6 +86,17 @@ When implementing multiple-%union support, bare the following in mind: char *sval; } +** %if and the like +It should be possible to have %if/%else/%endif. The implementation is +not clear: should it be lexical or syntactic. Vadim Maslow thinks it +must be in the scanner: we must not parse what is in a switched off +part of %if. Akim Demaille thinks it should be in the parser, so as +to avoid falling into another CPP mistake. + +** -D, --define-muscle NAME=VALUE +To define muscles via cli. Or maybe support directly NAME=VALUE? + + * Unit rules Maybe we could expand unit rules, i.e., transform @@ -187,8 +198,11 @@ Some users create their foo.y files, and equip them with #line. Bison should recognize these, and preserve them. * BTYacc -See if we can integrate backtracking in Bison. Contact the BTYacc -maintainers. +See if we can integrate backtracking in Bison. Charles-Henri de +Boysson is working on this, and already has some +results. Vadim Maslow, the maintainer of BTYacc was contacted, and we +stay in touch with him. Adjusting the Bison grammar parser will be +needed to support some extra BTYacc features. This is less urgent. ** Keeping the conflicted actions First, analyze the differences between byacc and btyacc (I'm referring