From 7d30af8e17d62932f8a458ad96f483b9afec6171 Mon Sep 17 00:00:00 2001 From: Alberto Donizetti Date: Fri, 13 Dec 2019 12:07:06 +0100 Subject: [PATCH] spec: reword claim about the grammar being regular Since the word "regular" has a precise meaning in the context of formal languages, the Introduction sentence claiming that Go's grammar is "compact and regular" may mislead readers. Reword it using Rob's suggestion. Fixes #36037 Change-Id: I00c1a5714bdab8878d9a77b36d67dae67d63da0f Reviewed-on: https://go-review.googlesource.com/c/go/+/211277 Reviewed-by: Robert Griesemer Reviewed-by: Rob Pike --- doc/go_spec.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index 724b044aa4..4fff107c9b 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -20,8 +20,8 @@ dependencies.

-The grammar is compact and regular, allowing for easy analysis by -automatic tools such as integrated development environments. +The grammar is compact and simple to parse, allowing for easy analysis +by automatic tools such as integrated development environments.

Notation