Passer au contenu

Context-free languages and parsing theory

Introduit
Fiche de cours
Leçon vidéo pour ce sujet Ouvrir la page vidéo
5:58

Théorie de la calculabilité et compilateurs

This course asks what machines can decide, and how text becomes meaning. The first three units are theory: automata and regular languages, context-free…

Narration en anglais · sous-titres en anglais et en 中文 au choix

Dans cette leçon

Leçon vidéo
Vocabulaire
English Sens
context-free grammar/ˈkɒntekst friː ˈɡræmə/rules that rewrite one nonterminal at a time; they describe most programming-language syntax
nonterminals/ˌnɒnˈtɜːmɪnlz/grammar symbols that are rewritten by rules, as opposed to the tokens of the input
derivation/ˌderɪˈveɪʃn/dérivation
parse tree/pɑːs triː/arbre de dérivation
ambiguity/ˌæmbɪˈɡjuːɪti/a grammar giving some string two or more different parse trees
pushdown automaton/ˈpʊʃdaʊn ɔːˈtɒmətn/A finite automaton plus a stack, and it recognises exactly the context-free languages.

Fiche de cours

IGCSE, A-Level & AP