Skip to content

Grammar (BNF) and Reverse Polish Notation

Introduced
Handout Watch lesson
Vocabulary
English Meaning
postfix/ˈpəʊstfɪks/An expression notation that places each operator after its operands, such as 3 4 + for adding three and four.
precedence/ˈpresɪdəns/The rules determining which operators or actions are applied before others.
grammar/ˈɡræmə/The rules and patterns governing how words are formed and combined in a language.
syntax diagram/ˈsɪntæks ˈdaɪəɡræm/A diagram showing the permitted sequences and alternatives in a language's grammatical rules.
Reverse Polish Notation/rɪˈvɜːs ˈpəʊlɪʃ nəʊˈteɪʃn/Reverse Polish Notation
Backus-Naur Form/ˈbækəs nɔː fɔːm/A notation that defines a formal grammar using production rules connecting non-terminal symbols to permitted sequences of symbols.
production rules/prəˈdʌkʃn ruːlz/production rules
terminal/ˈtɜːmɪnl/A symbol that appears literally in strings of a formal language and is not expanded by a grammar rule.
non-terminal/nɒn ˈtɜːmɪnl/A symbol representing a grammatical category that can be expanded using production rules.
infix/ˈɪnfɪks/An expression notation that places an operator between its operands, such as 3 + 4.

Handout

Log in or create account

IGCSE, A-Level & AP