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]int128
Single char constants are stored in integer types, UTF8 by default (TODO)
-
Floating point numbers -
float
double
-
Boolean values -
bool
Equivalent in size to
[u]int8
,false
equals to0
, everything else that isn't0
equals totrue
-
Strings -
string
Basically 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?