Senin, 18 Oktober 2010
Writing a Compiler in C#: Parsing, Part 1
In the previous installment we saw the core of a lexical analyzer, a module that generates from a stream of characters a set of tokens for symbols, identifiers, keywords, integer constants, and string constants. Today, we move to parsing. The parser’s job is to give semantic structure to the syntactic tokens bestowed upon it by the lexical analyzer. There are, as always, automatic tools like yacc
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar