Passer au contenu

Lexical analysis

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
tokens/ˈtəʊkənz/jetons
lexer/ˈleksə/the compiler stage that groups characters into tokens
regular expression
longest match/ˈlɒŋɡɪst mætʃ/the lexer rule that takes the longest piece of input that forms a token
minimises/ˈmɪnɪmaɪzɪz/reduces a DFA to the fewest states that accept the same language
keyword table/ˈkiːwɜːd ˈteɪbl/a table the lexer checks to tell reserved words from ordinary identifiers

Fiche de cours

IGCSE, A-Level & AP