1/6
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Context-Free Grammar
A more powerful method of describing languages.
Context-Free Grammar
First used in the study of human languages.
Context-Free Grammar
its application occurs in the specification and compilation of programming languages.
Parser
a component that most compilers and interpreters have.
Parser
extracts the meaning of a program before generating the compiled code
Variables,
terminals,
production rules,
start variables
Grammar : (V, T, P, S)
Where
V : finite set of variables
T : finite set of terminals
P : finite set of production rules
S : start variables
can be rewritten as,
produces
The symbol "⟶" is read: (2)