Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Backus–Naur form
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Formalism to describe programming languages}} {{Distinguish|Boyce–Codd normal form}}In [[computer science]], '''Backus–Naur form''' ('''BNF''', pronounced {{IPAc-en|ˌ|b|æ|k|ə|s|_|ˈ|n|aʊər}}), also known as '''Backus normal form''', is a notation system for defining the [[Syntax (programming languages)|syntax]] of [[Programming language|programming languages]] and other [[Formal language|formal languages]], developed by [[John Backus]] and [[Peter Naur]]. It is a [[metasyntax]] for [[Context-free grammar|context-free grammars]], providing a precise way to outline the rules of a language's structure. It has been widely used in official specifications, manuals, and textbooks on [[programming language theory]], as well as to describe [[Document format|document formats]], [[Instruction set|instruction sets]], and [[Communication protocol|communication protocols]]. Over time, variations such as [[extended Backus–Naur form]] (EBNF) and [[augmented Backus–Naur form]] (ABNF) have emerged, building on the original framework with added features.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)