X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/ae7453f2ba115eba9d24aad81b0f17b10c6b839a..27b0ffea3e94600ddb0e4066cce525a49789da8e:/TODO diff --git a/TODO b/TODO index d57fef61..436fa0d3 100644 --- a/TODO +++ b/TODO @@ -5,16 +5,11 @@ From Franc,ois: should we keep the directory part in the CPP guard? -* readpipe +* Yacc.c: CPP Macros -It should be replaced to avoid tmp files and to improve portability. -Also, as it is it does not call error () when execve fails, and -therefore, running M4='m4 --version' bison will silently fail instead -of: - - bison: cannot run m4 --version: No such file or directory - -BTW: I would really like to be able to pass arguments to m4... +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 @@ -34,17 +29,6 @@ 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. @@ -102,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 @@ -203,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