bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/7] RFC: typed midrule actions


From: Akim Demaille
Subject: [PATCH 0/7] RFC: typed midrule actions
Date: Sun, 5 Aug 2018 16:09:52 +0200

Sorry for taking so long...

I still have to write the documentation, and some tests with %printer,
%destructor, and of course with C++ variants.  However, I'd be happy
to receive early reviews.

I have been hesitating between 'midrule' and 'mid-rule'; both are used
in user visible places (be it the documentation, error messages, or
even command line options).  We should stick to a single spelling.

Years ago Joel normalized all the 'lookaheads'/'look-aheads' to
'lookaheads', so I guess we should use 'midrule'.

My idea is to release 3.1 soon with these changes.  Which means
addressing C++11 issues later, but I plan to focus on it right
afterwards.

This is currently pushed in the branch ad/typed-midrule.

Akim Demaille (7):
  tests: make room for more cases
  add support for typed mid-rule actions
  regen
  tests: check typed mid-rule actions
  warn about typed mid-rule actions in Yacc mode
  rule actions cannot be typed
  NEWS: update

 NEWS             |  32 ++++++++-
 THANKS           |   1 +
 src/parse-gram.c |  90 ++++++++++++------------
 src/parse-gram.y |   4 +-
 src/reader.c     |  24 +++++--
 src/reader.h     |   2 +-
 src/scan-code.h  |  12 +++-
 src/scan-code.l  |   4 +-
 tests/actions.at |  49 ++++++++++++++
 tests/input.at   | 173 ++++++++++++++++++++++++++++++++++-------------
 tests/report.at  |   6 +-
 11 files changed, 287 insertions(+), 110 deletions(-)

-- 
2.18.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]