emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/parser-generator bbbdea3 034/434: More improvement of d


From: ELPA Syncer
Subject: [elpa] externals/parser-generator bbbdea3 034/434: More improvement of documentation
Date: Mon, 29 Nov 2021 15:59:03 -0500 (EST)

branch: externals/parser-generator
commit bbbdea36f55e6d50edde5c176cdaa3fe6e3de0b3
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]