[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
- [PATCH 0/7] new partial order precedence syntax,
Valentin Tolmer <=
- [PATCH 7/7] news: new syntax (%gprec and %precr), Valentin Tolmer, 2013/08/01
- [PATCH 6/7] regen, Valentin Tolmer, 2013/08/01
- [PATCH 2/7] conflicts: switch to partial order precedence system, Valentin Tolmer, 2013/08/01
- [PATCH 5/7] tests: new tests for %gprec and %precr, Valentin Tolmer, 2013/08/01
- [PATCH 1/7] introduction of the new structures to prepare for partial order precedence, Valentin Tolmer, 2013/08/01
- [PATCH 3/7] syntax: introducing %gprec for precedence groups, Valentin Tolmer, 2013/08/01
- [PATCH 4/7] syntax: introducing %precr to add specific precedence relations, Valentin Tolmer, 2013/08/01