scatternoodle / wflang

WFLang
MIT License
0 stars 0 forks source link

Add handling for explicit int and float types #7

Closed scatternoodle closed 1 month ago

scatternoodle commented 1 month ago

Right now, we only recognize and handle the number type, which can be either an int or float.

There are many places in WFLang (especially in builtin params and method return types) where it definitely matters whether a number value is an int or float. Furthermore, int and float are themselves recognized types in WFLang that have methods.

This is a change that will need us to think all the way along the stack from the lexer through to user-facing features such as hovertexts.

The longer we leave this, the more difficult it's going to be to implement.