[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/parser-generator d85a3ae246 16/29: Passing more tests
From: |
Christian Johansson |
Subject: |
[elpa] externals/parser-generator d85a3ae246 16/29: Passing more tests |
Date: |
Sat, 12 Feb 2022 02:24:44 -0500 (EST) |
branch: externals/parser-generator
commit d85a3ae246b4fc45f254573cfd8f5bdc5346c69f
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Passing more tests
---
parser-generator.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/parser-generator.el b/parser-generator.el
index f0c30a7cc5..63df0175b2 100644
--- a/parser-generator.el
+++ b/parser-generator.el
@@ -1660,7 +1660,7 @@
(nth input-tape-index input-tape))
(parser-generator--debug
(message
- "input-symbol: %S"
+ "\ninput-symbol: %S"
input-symbol))
(cond
@@ -1730,8 +1730,8 @@
(setf
(nth expanded-list-index expanded-lists)
(append
- (nth expanded-list-index expanded-lists)
- (list input-symbol)))
+ (list input-symbol)
+ (nth expanded-list-index expanded-lists)))
(setq
expanded-list-index
(1+ expanded-list-index))))
@@ -1771,6 +1771,7 @@
;; 3. Process each unprocessed list and expand into a list of
lists of terminals and the e-identifier
(let ((unprocessed-data)
(unprocessed-list)
+ (unprocessed-list-length)
(unprocessed-list-index)
(processed-list))
(while unprocessed-lists
@@ -1821,7 +1822,8 @@
skip-flag
t)
(parser-generator--debug
- (message "Unprocessed list: %S starts with
e-identifier, skipping")))
+ (message
+ "Unprocessed list starts with e-identifier,
skipping")))
(cond
- [elpa] externals/parser-generator 6ffa2a0290 15/29: More work on FIRST function, (continued)
- [elpa] externals/parser-generator 6ffa2a0290 15/29: More work on FIRST function, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator efe98cb71a 14/29: More tweaks of FIRST and E-FREE-FIRST, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator a7a321ca93 28/29: Added link to TODO document, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator e1f3fb4042 18/29: More work on FIRST, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator 0e1fbf9cef 07/29: More debugging of edge case, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator 653b8edece 17/29: Added failing test for generate-f-sets, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator 4c34af706f 29/29: Improved documentation, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator a175c1317a 08/29: Started on refactor of e-free-first function to properly handle a edge case, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator 94fa7c3732 06/29: Cleaning up of e-free-first test, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator d2227ad65e 13/29: More wrestling with FIRST and E-FREE-FIRST calculation, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator d85a3ae246 16/29: Passing more tests,
Christian Johansson <=
- [elpa] externals/parser-generator e2e464bb17 26/29: Updated version, date and TODO, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator dced2e199f 22/29: Sorting LR-action tables before outputting them in messages, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator 69fc89898e 19/29: Passing all tests for FIRST and E-FREE-FIRST with new algorithm, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator 6726c5231e 24/29: Fixed conflict, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator 98dc561880 23/29: FIRST() and E-FREE-FIRST() passing LR-test for k=0, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator 432e3732f2 20/29: Fixed some byte-compilation warnings, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator ba2bda38da 25/29: Added use of default conflict resolution flag in action-table generation, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator 536198eb0a 27/29: Fixed typo in comment, Christian Johansson, 2022/02/12
- [elpa] externals/parser-generator 58548b8e10 21/29: Passing test for LR-parse with k=2 again, Christian Johansson, 2022/02/12