ref: d0ba03240de4d5e3cc9943ab25771b46311c4dab
parent: f0a0aad9faece7e4604d2dc630cfef614b03d33b
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Feb 12 21:10:27 EST 2017
Clarify the EBNF description.
--- a/doc/lang.txt
+++ b/doc/lang.txt
@@ -68,11 +68,12 @@
Whitespace and comments are implicitly stripped out before parsing.
- To put it in words, /regex/ defines a regular expression that would
- match a single token in the input. "quoted" would match a single
- string. <english description> contains an informal description of what
- characters would match. In the case of ambiguity, longest match wins.
- In the case of ambiguity with a quoted string, the quoted string wins.
+ To put the description in words, /regex/ defines a regular
+ expression that would match a single token in the input. "quoted"
+ would match a single string. <english description> contains an
+ informal description of what characters would match. In the case of
+ ambiguity, longest match wins. In the case of ambiguity with a
+ quoted string, the quoted string wins.
Productions are defined by any number of expressions, in which
expressions are '|' separated sequences of terms.