>From what I understand about EBNF production_name should be defined using 
EBNF notation in manner like below.

production_name = something1 | something2

But I don't see such definition in Spec.

Best
Kamil

czwartek, 28 października 2021 o 21:31:07 UTC+2 seank...@gmail.com 
napisał(a):

> There isn't much to it, a "production_name" is just an identifier for the 
> set of values defined on the other side of the =, some of which may also be 
> identifiers that should be dereferenced/expanded
>
> If it helps, there's a wikipedia entry on it: 
> https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form
>
> On Thursday, October 28, 2021 at 7:33:27 PM UTC+2 kziem...@gmail.com 
> wrote:
>
>> Hello,
>>
>> From what I understand proper Gopher read at least one time "The Go 
>> Programming Language Specification" (https://golang.org/ref/spec) and 
>> now I need to read it too.
>>
>> I learn something of Extended Backus-Naur Form to understand it, so if I 
>> say something stupid beyond belief, I hope you will forgive me. In the 
>> first part "Notation" (https://golang.org/ref/spec#Notation) I believe 
>> that I understand meaning of all concepts except of "production_name". On 
>> one hand "production_name" means that it is name of the production, not 
>> rocket science here. On the other, after reading about EBNF I feel that I 
>> should have more information about it. Can you explain it to me?
>>
>> Again I'm new to EBNF, so maybe this is stupid question.
>>
>> Best
>> Kamil
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/02647258-d529-4dac-ac63-8c72874b4a89n%40googlegroups.com.

Reply via email to