Skip to content

Lexer: Evaluate token values #4

Description

@ruiconti

After the first pass-through and token generation, we need to evaluate for each Token its runtime value.

e.g.

Token{T: T.NumericLiteral, Lexeme: "0xAB"}

Converted to

Token{T: T.NumericLiteral, Lexeme: "0xAB", Value: 171}

https://262.ecma-international.org/#sec-static-semantics-mv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions