dinfuehr / dora

Dora VM
MIT License
490 stars 31 forks source link

[literals] disambiguate all integer literals #286

Closed soc closed 2 years ago

soc commented 2 years ago

This allows changing the default type of integer literals. Both Int32 and Int64 work as the default with this change.

It also demonstrates that I is probably not the best type indicator for integer literals due to readability issues (1 vs I).

soc commented 2 years ago

See https://github.com/dinfuehr/dora/issues/261. This either works as a standalone change, or in addition to picking new integer literal type suffixes.

Independent of that, the biggest benefit is realized by not letting the commit get too out of sync with master.

soc commented 2 years ago

Great thanks!