bison-patches
[Top][All Lists]
Advanced

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

[PATCH 0/7] new partial order precedence syntax


From: Valentin Tolmer
Subject: [PATCH 0/7] new partial order precedence syntax
Date: Thu, 1 Aug 2013 16:04:48 +0200

Here is the first (acceptable) draft of a new syntax allowing for partial order
in token precedence.  Please have a look at it, toy with it and give me some
feedback. You'll find the details in the README and the git log. A sample
grammar illustrating the syntax can be found in the first test of conflicts.at

Valentin Tolmer (7):
  introduction of the new structures to prepare for partial order
    precedence
  conflicts: switch to partial order precedence system
  syntax: introducing %gprec for precedence groups
  syntax: introducing %precr to add specific precedence relations
  tests: new tests for %gprec and %precr
  regen
  news: new syntax (%gprec and %precr)

 NEWS                 |   26 ++
 src/AnnotationList.c |    4 +-
 src/conflicts.c      |  133 +++---
 src/gram.c           |    6 +-
 src/gram.h           |   11 +
 src/parse-gram.c     | 1177 ++++++++++++++++++++++++++++----------------------
 src/parse-gram.h     |  121 +++---
 src/parse-gram.y     |   78 ++++
 src/print-xml.c      |    3 +-
 src/scan-gram.l      |   17 +
 src/symtab.c         |  495 ++++++++++++++++++++-
 src/symtab.h         |  101 ++++-
 tests/conflicts.at   |  146 +++++++
 tests/existing.at    |    8 +-
 tests/input.at       |    3 +-
 tests/regression.at  |    3 +-
 16 files changed, 1671 insertions(+), 661 deletions(-)

--
1.7.9.5




reply via email to

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