Skip to content

Instantly share code, notes, and snippets.

@refs
Last active June 3, 2024 13:03
Show Gist options
  • Save refs/e6e84057eb047ee5f306b76e13f76d1e to your computer and use it in GitHub Desktop.
Save refs/e6e84057eb047ee5f306b76e13f76d1e to your computer and use it in GitHub Desktop.
Extended Backus-Naur Form Cheatsheet

Symbols

Usage Notation
definition =
concatenation ,
termination ;
alternation |
optional [ ... ]
repetition { ... }
grouping ( ... )
terminal string " ... "
terminal string ' ... '
comment (* ... *)
special sequence ? ... ?
exception -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment