|
|
|
|
|
by agalunar
1534 days ago
|
|
> When AST is built, it is validated to make sure it makes sense (that’s called lexing) and converted it to the bytecode. I've never heard "lexing" used this way, and I believe it's simply incorrect. Lexing (tokenizing) precedes parsing (parse tree and then syntax tree construction). It isn't syntax tree validation. Or so I thought. Are there other examples (besides this article) of "lexing" also being used to mean something else? |
|