New module scheme

This commit is contained in:
Krzosa Karol
2022-06-13 10:49:10 +02:00
parent cdaf85438e
commit b0553c38cf
12 changed files with 247 additions and 165 deletions

View File

@@ -1,11 +1,11 @@
package lambdas
Test :: struct
len: S64
test: Test
member := test.len
Memory :: #load "enums.kl"
imp_val: Allocator_Kind = Allocator_Kind.Heap
enum_val: Memory.Allocator_Kind = Memory.Allocator_Kind.Heap
other_enum_val: S64 = cast(enum_val: S64)
@@ -14,7 +14,7 @@ pointer_type :: *S64
// null_pointer: pointer_type = null
if_stmt :: (cond: S64): type
new_types.basic_type_assignment()
//new_types.basic_type_assignment()
CONSTANT :: 10
thing := 10
if i := thing + cond, cond > CONSTANT