HuoLanguage / huo

interpreted language written in C
MIT License
212 stars 21 forks source link

Varlength numeric types #47

Open TheLoneWolfling opened 8 years ago

TheLoneWolfling commented 8 years ago

If you think it'd be a good idea, I'd like to add a couple types to the language. Notably: variable-length integers and fractions.

Your thoughts on the matter?

incrediblesound commented 8 years ago

Ah yeah that would be cool! It would be great if the numeric types were more flexible.

TheLoneWolfling commented 8 years ago

Question: do you want them to be explicit types, or just triggered on overflow? Explicit types would be faster, triggered automatically would be easier to use.

incrediblesound commented 8 years ago

Ooo that's a tough call. I think I'm leaning towards ease of use on this one.