Skip to content

Consider splitting LiteralNumericExpression to LiteralInt32Expression + LiteralFloatExpression #73

@dead-claudia

Description

@dead-claudia

Engines heavily optimize integers, and they do currently parse 1 and 1.0 differently, taking 1.0 as a hint it's likely used as a floating point number and 1 as a hint it's likely used as a simple integer. Shouldn't the AST reflect this reality by giving them this helpful little tip?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions