Module 2.8: What is BNF?

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/8

flashcard set

Earn XP

Description and Tags

A collection of technical terms and concepts related to Backus-Naur Form (BNF) notation as described in the lecture notes.

Last updated 10:58 AM on 8/27/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

9 Terms

1
New cards

BNF

An abbreviation for "Backus-Naur Form," a notation used in computer science and formal language theory to describe the syntax of programming languages.

2
New cards

John Backus and Peter Naur

The two individuals who independently developed BNF in the late 1950sand early 1960s

3
New cards

Terminals

The basic symbols or tokens of the language that appear in actual expressions, typically enclosed in quotation marks or angle brackets.

4
New cards

Non-terminals

Placeholders for syntactic categories or abstract components within a language, often enclosed in angle brackets (< and >).

5
New cards

Production rules

A set of rules consisting of a non-terminal on the left-hand side and a sequence of terminals and/or non-terminals on the right-hand side, defining how valid expressions are constructed.

6
New cards

::= or — >

Symbols used in production rules to separate the non-terminal on the left-hand side from the sequence on the right-hand side.

7
New cards

Parsers

Compilers

The specific tools in programming language design and development for which BNF serves as a foundational tool.

8
New cards

Syntax

The formal rules and structure of a language that BNF notation aims to represent in a concise and unambiguous manner.

9
New cards

|

A symbol used in BNF grammar (as seen in the arithmetic expression example) to denote choice or alternatives between different sequences of symbols.