From c2cdc79e2f19a8d494b9504cb44b6f8e0965ecc8 Mon Sep 17 00:00:00 2001
From: Kia <kia@special-circumstanc.es>
Date: Thu, 22 Apr 2021 10:18:11 -0600
Subject: [PATCH] add underscores, restate data_out widths for the stacks

---
 unoptimized_lr/simple_lr_automaton.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/unoptimized_lr/simple_lr_automaton.py b/unoptimized_lr/simple_lr_automaton.py
index 55f4e8c..0dd3286 100644
--- a/unoptimized_lr/simple_lr_automaton.py
+++ b/unoptimized_lr/simple_lr_automaton.py
@@ -36,12 +36,12 @@ from functools import reduce
 # where log_2 determines the numbers of bits necessary to represent all possible
 # values for each type:
 #
-# log_2(NTerminal) =    WTerminal
-# log_2(NNonterminal) = WNonterminal
-# log_2(NStates)=       WStates
-# log_2(NRules)=        WRules
-# log_2(NLongestRule)=  WLongestRule
-# and WItem = max(WTerminal, WNonterminal); since there are locations where
+# log_2(NTerminal) =    W_Terminal
+# log_2(NNonterminal) = W_Nonterminal
+# log_2(NStates)=       W_States
+# log_2(NRules)=        W_Rules
+# log_2(NLongestRule)=  W_LongestRule
+# and W_Item = max(W_Terminal, W_Nonterminal); since there are locations where
 # nonterminals and terminals alike must be processed/stored by the same mechanisms
 #
 #
@@ -142,7 +142,7 @@ from functools import reduce
 #               \                                            /
 #                <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 #                    (index out, data out, stack pointer)
-#
+#                                 WStates
 #
 #
 # Parse index stack. Note that this is only needed if we're outputting a
@@ -158,7 +158,7 @@ from functools import reduce
 #               \                                            /
 #                <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 #                    (index out, data out, stack pointer)
-#
+#                              WLongestParse
 #
 # Serialization memory (or stream):
 #
-- 
GitLab