0 votes
in GoLang by
What is Syntax like in Go programming language?

1 Answer

0 votes
by

The GO programming language syntax is specified using Extended Backus-Naur Form (EBNF):

Production = production_name "=" [ Expression ]

Expression = Alternative { "l" Alternative }

Alternative = Term { Term }

Term = Production_name l token [ "?"token] l Group l Option l Repetition

Group = " ( "" Expression")"

Option = " [ " Expression "" ]"

Repetition = " {" Expression "}"

Related questions

0 votes
asked Aug 19, 2022 in GoLang by john ganales
0 votes
asked Aug 19, 2022 in GoLang by john ganales
...