branch: externals/parser-generator
commit bbbdea36f55e6d50edde5c176cdaa3fe6e3de0b3
Author: Christian Johansson <[email protected]>
Commit: Christian Johansson <[email protected]>
More improvement of documentation
---
README.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index d06fc41..21ccb4b 100644
--- a/README.md
+++ b/README.md
@@ -38,10 +38,10 @@ We use push down transducer (PDT) based algorithms:
Grammar consists of `N`, `T`, `P` and `S`, where `N` is non-terminals, `T` is
terminals, `P` is productions and `S` is start-production. N, T, P consists of
lists of one or more strings and symbols. When initializing grammar you also
set the number of look-ahead to use, like this:
-* N = (S A B C)
-* T = (a b c)
-* P = ((S (A B)) (A (B a) e) (B (C b) C) (C c e))
-* S = S
+* N = `'(S A B C)'`
+* T = `'(a b c)`
+* P = `'((S (A B)) (A (B a) e) (B (C b) C) (C c e))`
+* S = `'S`
``` emacs-lisp
(parser--set-grammar '((S A B C) (a b c) ((S (A B)) (A (B a) e) (B (C b) C) (C
c e)) S) 2)