Module 2.5: Operators and EBNF

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/4

flashcard set

Earn XP

Description and Tags

Vocabulary terms and definitions related to operator precedence, associativity, and Extended Backus-Naur Form (EBNF) notation.

Last updated 3:41 PM on 8/13/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

5 Terms

1
New cards

Operator Precedence

Levels indicated by the parse tree to ensure there is no ambiguity, with higher precedence operators appearing after the application of more rules.

2
New cards

Operator Associativity

A grammar property indicated by recursive rules; left recursive rules define left associativity and right recursive rules define right associativity.

3
New cards

Optional parts

Elements in Extended BNF that are placed within brackets [].

4
New cards

Alternative parts

Parts of right-hand sides in EBNF placed inside parentheses and separated by vertical bars, for example, —> (+|-)const.

5
New cards

Repetitions

Components occurring 0 or more times in EBNF, placed inside braces {}, such as —> letter{letter|digit}.