bnf.bad
来自「一个Pascal语言分析器」· BAD 代码 · 共 18 行
BAD
18 行
(* example of incorrect set of productions *)
EBNF = { Production } .
Production = nonterminal "=" Expression "." .
Expression = Term { "|" Term . (* missing closing } *)
Term = Factor { %%% Factor } . (* includes invalid characters *)
Factor =
nonterminal
| terminal
| "[" Expression "]"
| "(" Expression ")" ) (* has spurious closing ) *)
| "{" Expression "}" .
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?