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

BigInts #215

Open kaleidawave opened 2 weeks ago

kaleidawave commented 2 weeks ago

Currently big integers are not supported

Parsing is implemented though

Probably need an external library to implement the operations at constant time stuff? (or can skip for now just treat as new Open(BigInt) types

sor4chi commented 6 days ago

Hi, @kaleidawave.

I’m thinking of tackling this next so please assign me. I’m planning to use num_bigint; what do you think?

If you have any other recommended issues for me, I’d love to hear about them!

kaleidawave commented 6 days ago

Hi, @kaleidawave.

I’m thinking of tackling this next and would like to be assigned to it. I’m planning to use num_bigint; what do you think?

If you have any other recommended issues for me, I’d love to hear about them!

Awesome!

That crate looks good. It might be worth inquiring (or testing for yourself) whether it is equivalent to the JS engine implementation (in terms of limits, operators etc).

Currently for all the regular floating point operations (AND the regexp implementation #175) the ECMAScript specification and the Rust language are the same. Would be good to keep this up.