Lexer - CI/CD用語集の定義
lexer (tokenizer) はソースを一文字ずつ読み取り、それらを token (キーワード、識別子、数値、演算子) にまとめ、空白とコメントを破棄します。compiler の最初のステージであり、その token ストリームを parser に渡します。
関連ガイド
Parser - CI/CD Glossary DefinitionA parser consumes tokens from the lexer and builds an abstract syntax tree per the language grammar, reportin…
Abstract Syntax Tree - CI/CD Glossary DefinitionAn abstract syntax tree is the structured tree a parser builds from source, capturing its grammar without pun…
Semantic Analysis - CI/CD Glossary DefinitionSemantic analysis checks an AST for meaning-level rules a grammar can’t - scope, types, declared-before-use -…