Restructure

This commit is contained in:
Krzosa Karol
2022-06-14 14:28:29 +02:00
parent f223086ef3
commit e4e939ec04
12 changed files with 600 additions and 0 deletions

21
programs/order1.kl Normal file
View File

@@ -0,0 +1,21 @@
order2 :: #load "order2.kl"
recursive_lambda :: (thing: S64)
in_val := recursive_lambda
some_value := thing + const_in_lambda
other_func :: ()
a_val := recursive_lambda
const_in_lambda :: 10
not_const := val + 10
val := CONSTANT_VAL
DEPENDENCE :: CONSTANT_VAL
CONSTANT_VAL :: 10
global_thing: a_type = 10
arena: *order2.Arena
order1_arena: order2.Arena