ข้ามไปยังเนื้อหา

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