Pular para o conteúdo

Lexical analysis

Introduzido
Material de apoio
Videoaula para este tópico Abrir a página do vídeo
5:58

Teoria da Computação e 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…

Narração em inglês · legendas em inglês e 中文 que você pode alternar

Nesta aula

Videoaula
Vocabulário
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 de apoio

IGCSE, A-Level & AP