[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
todo: update
From: |
Akim Demaille |
Subject: |
todo: update |
Date: |
Wed, 19 Feb 2020 15:30:38 +0100 |
commit 30ba94081c65856dced2adf71809afad5eefc9fe
Author: Akim Demaille <address@hidden>
Date: Wed Feb 19 14:57:17 2020 +0100
todo: update
diff --git a/TODO b/TODO
index a14292e8..d250b49c 100644
--- a/TODO
+++ b/TODO
@@ -83,15 +83,6 @@ syntax error, unexpected $end, expecting ↦ or 🎅🐃 or '\n'
While at it, we should stop using "$end" by default, in favor of "end of
file", or "end of input", whatever. See how lalr1.java does that.
-** Better error messages
-The users are not provided with enough tools to forge their error messages.
-See for instance "Is there an option to change the message produced by
-YYERROR_VERBOSE?" by Simon Sobisch, on bison-help.
-
-See also
-https://www.cs.tufts.edu/~nr/cs257/archive/clinton-jefferey/lr-error-messages.pdf
-and https://research.swtch.com/yyerror.
-
** consistency
token vs terminal, variable vs non terminal.
@@ -155,6 +146,16 @@ functions.
states/nstates, rules/nrules, ..., ritem/nritems
Fix the latter.
+* Better error messages
+The users are not provided with enough tools to forge their error messages.
+See for instance "Is there an option to change the message produced by
+YYERROR_VERBOSE?" by Simon Sobisch, on bison-help.
+
+See also
+https://www.cs.tufts.edu/~nr/cs257/archive/clinton-jefferey/lr-error-messages.pdf
+https://research.swtch.com/yyerror
+http://gallium.inria.fr/~fpottier/publis/fpottier-reachability-cc2016.pdf
+
* Modernization
Fix data/skeletons/yacc.c so that it defines YYPTRDIFF_T properly for modern
and older C++ compilers. Currently the code defaults to defining it to
@@ -164,10 +165,10 @@ define it to the same type as the C ptrdiff_t type.
* Completion
Several features are not available in all the backends.
-- push parsers: glr.cc, lalr1.cc
-- ielr: C++ and Java
-- glr: Java
-- token constructors: Java and C
+- push parsers: glr.c, glr.cc, lalr1.cc
+- lac: D, Java
+- glr: D, Java
+- token constructors: Java, C, D
* Bugs
** Autotest has quotation issues
@@ -376,14 +377,6 @@ We need trustworthy benchmarks for Bison, for all our
backends. Akim has a
few things scattered around; we need to put them in the repo, and make them
more useful.
-** yysyntax_error
-The code bw glr.c and yacc.c is really alike, we can certainly factor
-some parts.
-
-This should be worked on when we also address the expected improvements for
-error generation (e.g., i18n).
-
-
* Report
** Figures
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- todo: update,
Akim Demaille <=