Sandbox for ideas for the Vermilion programming language
module import
class struct union delegate
if then else
for
while
try catch throw
void null
int8 int16 int32 int64 int128
uint8 uint16 uint32 uint64 uint128
bool string
-
Integer (signed and unsigned) -
[u]int8[u]int16[u]int32[u]int64[u]int128Single char constants are stored in integer types, UTF8 by default (TODO)
-
Floating point numbers -
floatdouble -
Boolean values -
boolEquivalent in size to
[u]int8,falseequals to0, everything else that isn't0equals totrue -
Strings -
stringBasically arrays of chars, contain length somewhere inside the structure, TODO
-
Pointer types, declared with the
*symbol. Mandatory glued to the end of the type name -any*
- Built in dispatch table structure?