From 97faaced9b6d642311ccf24a202ac0dec4beb637 Mon Sep 17 00:00:00 2001 From: Kiril Kovachev Date: Fri, 7 Mar 2025 16:28:30 +0000 Subject: [PATCH] =?UTF-8?q?Use=20=E2=86=92=20instead=20of=20=3D>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e0d96c..6bf03b2 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ P ::= P() | ε ``` ...which, due to the first rule, was regrettably indeed left-recursive. That rule should be able to be fixed using the following adjustment, though: -`P() => P{()}+` (where `{}` denotes a grouping, and `()` still just denote parentheses. In PCRE regex syntax, this would be `(\(\))*`). +`P() → P{()}+` (where `{}` denotes a grouping, and `()` still just denote parentheses. In PCRE regex syntax, this would be `(\(\))*`). Note that `S` is just the grammar for one line of parentheses, without the line-break character of end-of-file part of the specification taken into account. The full grammar is: