Parser - CI/CD用語集の定義
parser は lexer の token ストリームを受け取り、言語の文法に従ってそれを abstract syntax tree に組み立てます。token が有効な構造を形成できないときは構文エラーを発生させ、字句解析と意味解析の橋渡しをします。
関連ガイド
Lexer - CI/CD Glossary DefinitionA lexer scans raw source characters into tokens - keywords, identifiers, literals - the first compiler stage…
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 -…