-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Planning: Primitive/built-in Types #12
Comments
Some expressions have special types that are context-sensitive and are handles by the compiler.
|
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 |
Not sure what I was thinking here. Probably a bad idea. |
Bitwise operations are not allowed on signed types. |
void
- special type with 0 size (may be instantiated, but optimized out)boolean
/bool
- boolean typeint@8
,int@16
,int@32
,int@64
, etc - signed integral typesuint@8
,uint@16
,uint@32
,uint@64
, etc - unsigned integral typesfloat@32
,float@64
, etc - signed floating point typescharacter
- special non-numeric type for holding a character from the unicode character setThe text was updated successfully, but these errors were encountered: