Add support for casting.

This commit is contained in:
2023-06-17 15:10:16 -07:00
parent b4ad24030f
commit 041c0a497e
15 changed files with 355 additions and 10 deletions

7
examples/basic/cast1.ngr Normal file
View File

@@ -0,0 +1,7 @@
x8 = 5u8;
x16 = <u16>x8 + 1u16;
print x16;
x32 = <u32>x16 + 1u32;
print x32;
x64 = <u64>x32 + 1u64;
print x64;