Skip to content

Consider splitting LiteralNumericExpression to LiteralInt32Expression + LiteralFloatExpression #73

Open
@dead-claudia

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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