From e2f6e7aee38df070216cccd7204a3be05e412ed8 Mon Sep 17 00:00:00 2001
From: Kia <kia@special-circumstanc.es>
Date: Thu, 28 Oct 2021 16:13:05 -0700
Subject: [PATCH] this is actually the hard-mode CFG (technically it's also a
 regular language but whatever that's fine!)

---
 old_parser/fun_with_bison/ielr_grammar.y | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)
 mode change 100644 => 100755 old_parser/fun_with_bison/ielr_grammar.y

diff --git a/old_parser/fun_with_bison/ielr_grammar.y b/old_parser/fun_with_bison/ielr_grammar.y
old mode 100644
new mode 100755
index 9e7908d..cc6b972
--- a/old_parser/fun_with_bison/ielr_grammar.y
+++ b/old_parser/fun_with_bison/ielr_grammar.y
@@ -2,17 +2,30 @@
 %define lr.default-reduction accepting
 
 /* BISON Declarations */
-%left SMALL_A
+%token SMALL_A
+
+
 %token SMALL_B
+%token SMALL_C
+%token SMALL_D
+%token SMALL_E
+
+
 
 /* Grammar follows */
 %%
 
 
-BIG_S:    SMALL_A BIG_A SMALL_A
-        | SMALL_B BIG_A SMALL_B
+BIG_S:    SMALL_B BIG_A
+        | SMALL_C BIG_A
+        | SMALL_D BIG_APRIME
+        | SMALL_E BIG_APRIME
+
 
 BIG_A:    SMALL_A
         | SMALL_A SMALL_A
 
+BIG_APRIME: SMALL_A
+          | SMALL_A SMALL_A
+
 %%
\ No newline at end of file
-- 
GitLab