Saltar al contenido

Lexical analysis

Introducido
Material
Lección de video para este tema Abrir la página de video
5:58

Teoría de la computación y compiladores

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

Narración en inglés · subtítulos en inglés y 中文 que puedes cambiar

En esta lección

Videolección
Vocabulario
English Significado
tokens/ˈtəʊkənz/
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

Material

IGCSE, A-Level & AP