[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/parser-generator 97919972a7 35/82: Improved debug messa
From: |
Christian Johansson |
Subject: |
[elpa] externals/parser-generator 97919972a7 35/82: Improved debug message, added TODO item |
Date: |
Thu, 12 May 2022 13:28:15 -0400 (EDT) |
branch: externals/parser-generator
commit 97919972a757d56731e0c3c7b9460d9fcae2b627
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Improved debug message, added TODO item
---
parser-generator-ll.el | 5 +++++
parser-generator.el | 9 +++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/parser-generator-ll.el b/parser-generator-ll.el
index 34ca0ce155..e8c1ff7f7e 100644
--- a/parser-generator-ll.el
+++ b/parser-generator-ll.el
@@ -149,6 +149,11 @@
(sub-symbol-rhss
(parser-generator--get-grammar-rhs
sub-symbol)))
+
+ ;; TODO local-follow-set needs to be a
merge-max-terminal-sets of
+ ;; the first set of follow-set combined with the first
+ ;; set of the parent follow set
+
(parser-generator--debug
(message
"follow-set: %S for %S in %S"
diff --git a/parser-generator.el b/parser-generator.el
index 0d62f64796..2b0b760717 100644
--- a/parser-generator.el
+++ b/parser-generator.el
@@ -1763,8 +1763,13 @@
(parser-generator--valid-eof-p input-symbol)
(parser-generator--valid-terminal-p input-symbol))
(parser-generator--debug
- (message
- "symbol is a terminal, the e-identifier or the EOF-identifier"))
+ (cond
+ ((parser-generator--valid-e-p input-symbol)
+ (message "symbol is the e-identifier"))
+ ((parser-generator--valid-eof-p input-symbol)
+ (message "symbol is the EOF-identifier"))
+ ((parser-generator--valid-terminal-p input-symbol)
+ (message "symbol is a terminal"))))
(let ((expanded-list-index 0)
(expanded-list-count
(length expanded-lists)))
- [elpa] externals/parser-generator 2181545d26 64/82: Implemented test for validation of LL(1) grammar, (continued)
- [elpa] externals/parser-generator 2181545d26 64/82: Implemented test for validation of LL(1) grammar, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator 4051737aeb 65/82: Added TODO item for LL(k) translation, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator 08af836006 69/82: More work on SDT for LL grammar, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator 7d87a2d154 79/82: Implemented exported LL(k) and LL(1) parser, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator 75323b10e5 81/82: Merge branch 'feature/llk-parser', Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator db91a5f203 82/82: Removed unused function, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator 315e40eff8 10/82: More work on LL table generation, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator 34ab0f1718 21/82: More various tweaks, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator 064bd259ff 26/82: Passing LLk validation tests, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator f0de6698b9 29/82: Added todo item, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator 97919972a7 35/82: Improved debug message, added TODO item,
Christian Johansson <=
- [elpa] externals/parser-generator e55a3f8a37 38/82: Updated TODO items, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator 7ee5504003 45/82: More work on LLk parser, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator fd2f90dd81 47/82: Added TODO-item, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator b41b2dbffe 68/82: Removed debug output, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator 566228f16c 71/82: More work on LLk translation, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator 234a6ca2db 70/82: More work on LLk SDT, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator ff261d9a4e 75/82: Using stack for symbols value in SDT, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator de7c45c511 78/82: Started with LL-export functions, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator 5be162966b 80/82: Fixed byte-compilation issue in exported LL parser, Christian Johansson, 2022/05/12
- [elpa] externals/parser-generator 2869417d78 31/82: Made new helper functions to make LL-parsing easier, Christian Johansson, 2022/05/12