コンテンツへスキップ

Lexical analysis

導入済み
プリント
このトピックのビデオレッスン 動画ページを開く
5:58

計算理論とコンパイラ

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

英語のナレーション・英語と中国語の字幕を切り替え可能

このレッスンの内容

動画レッスン
語彙
English 意味
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

プリント

ログインまたはアカウント作成

IGCSE, A-Level & AP