Commit Graph

  • 1283dc7243 glr.c: log the execution of deferred actions Akim Demaille 2021-01-01 19:07:12 +01:00
  • e3d4b42f58 glr.c: reorder routines Akim Demaille 2021-01-01 19:41:00 +01:00
  • f67c1ce937 glr.c: example: use the exact same display as in the C++ example Akim Demaille 2021-01-02 07:33:08 +01:00
  • 5a4e606275 glr.c: example: several improvements Akim Demaille 2021-01-01 18:19:12 +01:00
  • 83f2eb3737 glr2.cc: the example requires Bison 3.8 Akim Demaille 2020-12-31 08:20:23 +01:00
  • 3911aba39a %merge: associate it to its first definition, not the latest Akim Demaille 2020-12-31 07:55:05 +01:00
  • 8bc45673d5 %merge: test support for api.value.type=union Akim Demaille 2020-12-31 07:52:43 +01:00
  • fbe5abd23d %merge: fix compatibility with api.value.type=union Akim Demaille 2020-12-31 07:20:49 +01:00
  • c09f2e4c7b %merge: delegate the generation of calls to mergers to m4 Akim Demaille 2020-12-30 09:10:05 +01:00
  • ac3d5b76f7 %merge: let mergers record a typing-symbol, rather than a type Akim Demaille 2020-12-30 08:27:24 +01:00
  • edfcca8481 %merge: clearer tests on diagnostics Akim Demaille 2020-12-30 08:25:39 +01:00
  • 92e943bd24 glr2.cc: style: quoting changes Akim Demaille 2020-12-27 15:18:50 +01:00
  • e40da7b6b3 lalr1.cc: style: quoting changes Akim Demaille 2020-12-27 15:17:16 +01:00
  • 70b3c8fb20 glr2.cc: use references to the stack rather than pointers Akim Demaille 2020-12-27 08:50:10 +01:00
  • e9b7641cca glr2.cc: simplify names Akim Demaille 2020-12-27 08:36:20 +01:00
  • 321fac2193 glr2.cc: get rid of the macros wrapping the lookahead Akim Demaille 2020-12-27 08:18:34 +01:00
  • 2777b73166 glr2.cc: reorganize the skeleton Akim Demaille 2020-12-26 16:47:09 +01:00
  • 89296e3962 glr2.cc: example: simplify Akim Demaille 2020-12-26 17:38:47 +01:00
  • bb97a2a37b glr2.cc: make yyreportTree a member function of semantic_option Akim Demaille 2020-12-26 14:24:00 +01:00
  • 8a22b557b9 glr2.cc: pass references to yyreportAmbiguity Akim Demaille 2020-12-26 14:15:06 +01:00
  • 92dc8bf23b style: use yyval only, not yysval Akim Demaille 2020-12-26 11:43:50 +01:00
  • c18dbfcb06 glr2.cc: pass location by const ref to yyglrShift Akim Demaille 2020-12-26 11:46:23 +01:00
  • 94701b4e5e style: rename semanticVal as value Akim Demaille 2020-12-26 11:24:57 +01:00
  • 3e6826aff1 glr2.cc: remove dead comments Akim Demaille 2020-12-26 11:22:02 +01:00
  • 9466c734c5 glr2.cc: use YYCDEBUG, not YY_DEBUG_STREAM Akim Demaille 2020-12-26 09:44:09 +01:00
  • b9a533d63e glr2.cc: formatting changes Akim Demaille 2020-12-26 09:14:41 +01:00
  • d0e44162b5 glr2.cc: don't use YYSTYPE/YYLTYPE at all Akim Demaille 2020-12-26 09:13:59 +01:00
  • 8db99c54f4 tests: don't require YYSTYPE/YYLTYPE to be defined in C++ Akim Demaille 2020-12-26 09:36:29 +01:00
  • 2157ced3dd c++: rename semantic_type as value_type Akim Demaille 2020-12-26 08:21:50 +01:00
  • 59653c8efd doc: more about sanitizers Akim Demaille 2020-12-26 08:01:40 +01:00
  • 2a07cb0f2d glr2.cc: simplify Akim Demaille 2020-12-26 07:30:45 +01:00
  • 734ce73bf2 glr2.cc: fix warnings about uninitialized locations Akim Demaille 2020-12-25 10:47:12 +01:00
  • baea8cf9fa glr2.cc: provide glr_state with a genuine copy-constructor Akim Demaille 2020-12-25 09:13:46 +01:00
  • 636c9a8042 glr2.cc: beware of self-assignment Akim Demaille 2020-12-25 08:53:31 +01:00
  • 7dc942dca3 glr: comment changes Akim Demaille 2020-12-25 08:52:28 +01:00
  • 32bb53870b d: remove unnecessary methods from the Lexer interface Adela Vais 2020-12-21 15:49:27 +02:00
  • 27109d9d4a d: use Location and Position aliases in the backend Adela Vais 2020-12-21 13:44:33 +02:00
  • 2b4451c4af d: remove unnecessary comparison from YYParser.parse() Adela Vais 2020-12-21 13:38:00 +02:00
  • c0f3b55b25 style: address syntax-check diagnostics Akim Demaille 2020-12-21 07:51:02 +01:00
  • 20d657c1dd d: create alias Position for YYPosition Adela Vais 2020-12-18 19:53:32 +02:00
  • b00fa62e95 d: create alias Value for YYSemanticType Adela Vais 2020-12-18 19:46:02 +02:00
  • 8e44b24ba8 d: create alias Location for YYLocation Adela Vais 2020-12-18 17:31:57 +02:00
  • 6692df8992 d: remove yychar from YYParse.parse() Adela Vais 2020-12-11 00:06:25 +02:00
  • cc04459cfe d: reduce verbosity for returning the location from yylex() Adela Vais 2020-12-10 23:27:53 +02:00
  • ee4ec08513 d: m4 style consistency fix Adela Vais 2020-12-10 22:53:51 +02:00
  • 13bb2b78b3 d: create alias Symbol for YYParse.Symbol Adela Vais 2020-12-10 22:49:28 +02:00
  • 848a17fa33 d: change name of YYParser.Symbol's semanticValue() to value() Adela Vais 2020-12-10 22:36:24 +02:00
  • c6a39f8409 glr2.cc: formatting changes Akim Demaille 2020-12-20 18:46:28 +01:00
  • df34ad7c6e glr2.cc: call the destructor in a way that complies with clang Akim Demaille 2020-12-20 18:35:51 +01:00
  • 0a82316e54 glr2.cc: example: use objects (not pointers) to represent the AST Akim Demaille 2020-12-14 20:26:41 +01:00
  • 611348e67b glr2.cc: more checks Akim Demaille 2020-12-20 09:44:30 +01:00
  • fe0102d4d5 glr2.cc: fix GLR stack expansion Akim Demaille 2020-12-20 08:27:18 +01:00
  • 718cb1ab38 glr2.cc: factor the computation of the accessing symbol Akim Demaille 2020-12-20 07:52:05 +01:00
  • 08f657f4a4 glr2.cc: fix calling conventions for yyexpandGLRStackIfNeeded Akim Demaille 2020-12-19 18:38:08 +01:00
  • 7292ed6e64 glr2.cc: example: use streams and accept arguments Akim Demaille 2020-12-19 07:09:55 +01:00
  • 3f473dd2d7 glr: formatting changes Akim Demaille 2020-12-20 07:28:22 +01:00
  • 03d33fd3a4 skeletons: better comments for some tables Akim Demaille 2020-12-20 07:53:45 +01:00
  • 0a6c2e6400 glr2.cc: fix glr_stack_item::setState Akim Demaille 2020-12-18 06:29:14 +01:00
  • 640b1313d7 glr2.cc: more self checks Akim Demaille 2020-12-18 07:03:55 +01:00
  • 66706a7c19 glr2.cc: style: s/Type/Kind/g Akim Demaille 2020-12-19 06:44:40 +01:00
  • 80664353b2 glr2.cc: example: style: add missing copyright headers Akim Demaille 2020-12-18 07:20:30 +01:00
  • d6fbeb2798 glr2.cc: example: address Clang warnings Akim Demaille 2020-12-19 07:26:35 +01:00
  • b33817f8bb glr: tests: add support for the YYDEBUG envvar Akim Demaille 2020-12-16 06:58:58 +01:00
  • c97dbc46af glr.c: comment changes Akim Demaille 2020-12-13 08:28:09 +01:00
  • b2d35f5cb8 glr2.cc: make the example more C++ Akim Demaille 2020-12-13 08:22:23 +01:00
  • 855d46678a glr2.cc: make yyparse a member function Akim Demaille 2020-12-12 19:41:35 +01:00
  • 178a033e8b glr2.cc: being pure is not an option Akim Demaille 2020-12-12 18:01:24 +01:00
  • c8006f4637 glr2.cc: fix yycompressStack Akim Demaille 2020-12-12 17:32:01 +01:00
  • 5b65b3d543 glr2.cc: fix pointer arithmethics Akim Demaille 2020-12-06 16:35:21 +01:00
  • 2b52bd1644 glr2.cc: style fixes Akim Demaille 2020-12-06 17:01:54 +01:00
  • 9ee51ece65 glr2.cc: add sanity check in glr_state Akim Demaille 2020-12-06 16:55:24 +01:00
  • 2313f891bd glr2.cc: add sanity checks in glr_stack_item Akim Demaille 2020-12-06 16:21:29 +01:00
  • 42fe808292 glr2.cc: run the glr-regression tests Akim Demaille 2020-12-06 06:54:56 +01:00
  • 4beefee4bf glr2.cc: use the same format for traces as glr.c Akim Demaille 2020-12-06 10:08:19 +01:00
  • 3301849f0f glr2.cc: add support for parse.assert Akim Demaille 2020-12-05 07:42:53 +01:00
  • 349ea900f5 glr2.cc: fix yyresolveValue Akim Demaille 2020-12-06 08:42:55 +01:00
  • 1b85ac4586 glr2.cc: misc cleanups Valentin Tolmer 2020-09-30 17:43:29 +02:00
  • 2ec6df3b07 glr2.cc: fix memory corruption bug Valentin Tolmer 2020-11-11 18:55:15 +01:00
  • e72eda7aee glr2.cc: turn some pointers into references Akim Demaille 2020-12-06 07:30:51 +01:00
  • 4f24f5f304 glr2.cc: use 'const' for some constant local variables Valentin Tolmer 2020-12-06 07:22:49 +01:00
  • 12b5924939 glr2.cc: fix when the stack is not expandable Akim Demaille 2020-12-06 06:51:53 +01:00
  • d4188398f1 glr.c: fix line numbers in logs Akim Demaille 2020-12-06 13:38:03 +01:00
  • 8ab625e517 tests: glr: run the glr regression tests with glr.cc Akim Demaille 2020-12-05 11:21:50 +01:00
  • edf6aa7d3b tests: glr: prepare for more languages Akim Demaille 2020-12-05 08:54:39 +01:00
  • 4aec17af93 tests: glr: use AT_FULL_COMPILE Akim Demaille 2020-12-05 08:22:46 +01:00
  • c98b8856e6 tests: glr: prefer directives to warnings Akim Demaille 2020-12-05 08:09:42 +01:00
  • 4ec49a8585 tests: factor the access to token kinds Akim Demaille 2020-12-05 09:15:36 +01:00
  • 627d275a3a tests: formatting changes Akim Demaille 2020-12-05 06:51:46 +01:00
  • 84a84560c3 glr.cc: don't "leak" yyparse Akim Demaille 2020-12-05 06:49:48 +01:00
  • 0e78a9028e portability: beware of GCC 4.6 Akim Demaille 2020-12-03 19:46:20 +01:00
  • 24233748ec tables: avoid warnings and save bits Akim Demaille 2020-12-02 21:39:26 +01:00
  • 9840e5b621 c++: use noexcept where appropriate Akim Demaille 2020-12-02 21:38:43 +01:00
  • 8eede447db gnulib: update Akim Demaille 2020-11-29 17:20:53 +01:00
  • 5b19f91ccf multistart: check duplicates Akim Demaille 2020-11-22 11:19:48 +01:00
  • 7fe9205b9f style: change the format of a debugging function Akim Demaille 2020-11-22 11:32:23 +01:00
  • d798851e48 style: rename grammar_start_symbols_set as grammar_start_symbols_add Akim Demaille 2020-11-22 11:18:20 +01:00
  • 5af04b99dd TODO: update Akim Demaille 2020-11-21 15:05:25 +01:00
  • 38cdb2aba2 multistart: also use the api.prefix in the implementation Akim Demaille 2020-11-21 14:57:29 +01:00
  • 5629305131 doc: using stow to set up a bison herd Akim Demaille 2020-11-20 07:26:48 +01:00
  • e5854bbddd d: change YYLocation's type from class to struct Adela Vais 2020-11-19 23:03:56 +02:00