StardustPL / Stardust

"A programming language that doesn't make me angry to use it."
https://StardustPL.GitHub.IO/
The Unlicense
4 stars 0 forks source link

Planning: Primitive/built-in Types #12

Open LB-- opened 9 years ago

LB-- commented 9 years ago
LB-- commented 9 years ago

Some expressions have special types that are context-sensitive and are handles by the compiler.

LB-- commented 8 years ago

http://site.icu-project.org/

LB-- commented 8 years ago

With characters: there should probably be two types: fast and small. Fast characters will take up a fixed width and be able to hold any unicode code point, at the expense of wasting memory. Small characters will only use the needed memory, but obviously this has performance penalties.

EDIT: see instead #36

LB-- commented 8 years ago

each constant has its own unique type that can be used for ADL/disambiguation.

Not sure what I was thinking here. Probably a bad idea.

LB-- commented 8 years ago

Bitwise operations are not allowed on signed types.