반응형
언어
-
Golang Language Specification언어 2015. 6. 6. 20:01
NotationThe syntax is specified using Extended Backus-Naur Form (EBNF):Production = production_name "=" [ Expression ] "." . Expression = Alternative { "|" Alternative } . Alternative = Term { Term } . Term = production_name | token [ "…" token ] | Group | Option | Repetition . Group = "(" Expression ")" . Option = "[" Expression "]" . Repetition = "{" Expression "}" . Productions are expression..