coolya / basic-lang

A basic step by step example we use to build our own language live on stream at https://twitch.tv/dumdidum
MIT License
3 stars 2 forks source link

Typesystem with number ranges #5

Open coolya opened 5 years ago

coolya commented 5 years ago

Apart from only distinguishing between integers and floating points we could extend the type system to work with number ranges. The typesystem should be able to track ranges across arithmetic operations and calculate them accordingly