From 794778a071eba55ff69ef04445cf2d5166fbdb7f Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Fri, 8 Dec 2017 18:36:09 +0100 Subject: [PATCH] add another sample context free grammar --- examples2/grammar/contextFree3.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 examples2/grammar/contextFree3.txt diff --git a/examples2/grammar/contextFree3.txt b/examples2/grammar/contextFree3.txt new file mode 100644 index 0000000000..74e40aeb1b --- /dev/null +++ b/examples2/grammar/contextFree3.txt @@ -0,0 +1,9 @@ +CFG ( +{A, B, C, D}, +{a, b}, +{C -> D a B | b, +B -> A D |, +D -> B C, +A -> a | C D +}, +A) -- GitLab