First draft for adding c string type

This commit is contained in:
Krzosa Karol
2022-06-12 00:15:19 +02:00
parent 6a612cf1b4
commit 83130b130b
5 changed files with 25 additions and 5 deletions

View File

@@ -28,6 +28,8 @@ imp_array := [5]S64{1,2}
imp_array_c: [5]S64 = {[0] = 1, [2] = 2, [1] = 0} // @todo this should be illegal
// without_size: []S64 = {} // @todo: this should be slice, converting from array should be implicit
string: char = "string"
//-----------------------------------------------------------------------------
// Pointers
//-----------------------------------------------------------------------------