AllBusiness.com
  • Starting a Business
  • Career
  • Sales & Marketing
  • AI
  • Finance & Fundraising
  • M & A
  • Tech
  • Business Resources
  • Business Directory
  1. Home »
  2. Barrons Dictionary »
  3. Backus-Naur form (BNF) »

Definition of Backus-Naur form (BNF)

Dictionary of Computer and Internet Terms: Backus-Naur form (BNF)
Backus-Naur form (BNF)

a notation used to describe the syntax of languages. BNF was devised by J. Backus and Peter Naur and introduced in the first official description of ALGOL 60 (see ALGOL). it is sometimes referred to as Backus normal form.

Each BNF statement describes some syntactic unit by giving one or more alternative expansions of it, separated by the symbol |. For example, the following is a BNF description of the assignment statement in BASIC (Beginner's All-purpose Symbolic Instruction Code) (we assume that , , and have already been defined, and that stands for the absence of any written symbol):

::= LET |
::=
=

The first statement defines as standing for either the word let or no symbol, in order to indicate that the word let is optional. The second statement defines as consisting of a line number, an optional let keyword, a variable name, an equals sign, and an expression.

Many languages contain syntactic rules that cannot be expressed in BNF; for instance, BNF provides no way to say that an integer cannot exceed 32,767. Still, BNF descriptions are handy because they are concise and definitive and because parsers can be generated directly from them.

Search for definitions

BizBuySell
logo
AllBusiness.com is a premier business website dedicated to providing entrepreneurs, business owners, and business professionals with articles, insights, actionable advice,
and cutting-edge guides and resources. Covering a wide range of topics, from starting a business, fundraising, sales and marketing, and leadership, to emerging AI
technologies and industry trends, AllBusiness.com empowers professionals with the knowledge they need to succeed.
About UsContact UsExpert AuthorsGuest PostEmail NewsletterAdvertiseCookiesIntellectual PropertyTerms of UsePrivacy Policy
Copyright © AliBusiness.com All Rights Reserved.
logo
  • Experts
    • Latest Expert Articles
    • Expert Bios
    • Become an Expert
    • Become a Contributor
  • Starting a Business
    • Home-Based Business
    • Online Business
    • Franchising
    • Buying a Business
    • Selling a Business
    • Starting a Business
  • AI
  • Sales & Marketing
    • Advertising, Marketing & PR
    • Customer Service
    • E-Commerce
    • Pricing and Merchandising
    • Sales
    • Content Marketing
    • Search Engine Marketing
    • Search Engine Optimization
    • Social Media
  • Finance & Fundraising
    • Angel and Venture Funding
    • Accounting and Budgeting
    • Business Planning
    • Financing & Credit
    • Insurance & Risk Management
    • Legal
    • Taxes
    • Personal Finance
  • Technology
    • Apps
    • Cloud Computing
    • Hardware
    • Internet
    • Mobile
    • Security
    • Software
    • SOHO & Home Businesses
    • Office Technology
  • Career
    • Company Culture
    • Compensation & Benefits
    • Employee Evaluations
    • Health & Safety
    • Hiring & Firing
    • Women in Business
    • Outsourcing
    • Your Career
    • Operations
    • Mergers and Acquisitions
  • Operations
  • Mergers & Acquisitions
  • Business Resources
    • AI Dictionary
    • Forms and Agreements
    • Guides
    • Company Profiles
      • Business Directory
      • Create a Profile
      • Sample Profile
    • Business Terms Dictionary
    • Personal Finance Dictionary
    • Slideshows
    • Entrepreneur Profiles
    • Product Reviews
    • Video
  • About Us
    • Create Company Profile
    • Advertise
    • Email Newsletter
    • Contact Us
    • About Us
    • Terms of Use
    • Contribute Content
    • Intellectual Property
    • Privacy
    • Cookies