kaleidawave / ezno

A fast and correct TypeScript type checker and compiler with additional experiments
https://kaleidawave.github.io/posts/introducing-ezno/
MIT License
2.55k stars 47 forks source link

Basic operator checking #186

Closed kaleidawave closed 2 months ago

kaleidawave commented 3 months ago
kaleidawave commented 2 months ago

Think I am going to change LessThan and GreaterThan to range types

kaleidawave commented 2 months ago

Will have a think about later if there is still stuff I want to add/change before merging tomorrow. But pretty happy with it for now.

kaleidawave commented 2 months ago

Might have to change the range of Math.random. Turns out it is [0, 1) not [0, 1] 🤦‍♂️. Could do 0 | ExclusiveRange<0, 1>? Will have to check that works

image

kaleidawave commented 2 months ago

Merging before I get carried away with range division etc. Checking tests now up to 344 🎉