buzz-language / buzz

👨‍🚀 buzz, A small/lightweight statically typed scripting language
https://buzz-lang.dev
MIT License
1.16k stars 32 forks source link

Make int and float separate types #100

Closed giann closed 1 year ago

giann commented 1 year ago

Avoids runtime coercion and removes ambiguity for the user

giann commented 1 year ago

Alternatively we could introduce int and float while still keeping num. Letting the user choose if we wants to deal with the distinction or not.

giann commented 1 year ago