From dd704c35615d73b93a425dd1504b09927b2054b5 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sat, 15 Nov 2008 14:56:21 +0100 Subject: [PATCH] Update TODO. * TODO: Update. --- ChangeLog | 4 ++++ TODO | 28 ++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/ChangeLog b/ChangeLog index ecc05efe..5cb6b0dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-11-15 Akim Demaille + + * TODO: Update. + 2008-11-15 Akim Demaille Formatting changes. diff --git a/TODO b/TODO index e42c4b5c..8343bbb3 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,33 @@ -*- outline -*- +* Short term +** Document %define assert + +** Discuss about %printer/%destroy in the case of C++. +It would be very nice to provide the symbol classes with an operator<< +and a destructor. Unfortunately the syntax we have chosen for +%destroy and %printer make them hard to reuse. For instance, the user +is invited to write something like + + %printer { debug_stream() << $$; } ; + +which is hard to reuse elsewhere since it wants to use +"debug_stream()" to find the stream to use. The same applies to +%destroy: we told the user she could use the members of the Parser +class in the printers/destructors, which is not good for an operator<< +since it is no longer bound to a particular parser, it's just a +(standalone symbol). + +** Rename LR0.cc +as lr0.cc, why upper case? + +** bench several bisons. +Enhance bench.pl with %b to run different bisons. + +** Use b4_symbol everywhere. +Move its definition in the more standard places and deploy it in other +skeletons. + * Various ** YYPRINT glr.c inherits its symbol_print function from c.m4, which supports -- 2.45.2