phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0
This commit is contained in:
13
local_tests/basic_math.hako
Normal file
13
local_tests/basic_math.hako
Normal file
@ -0,0 +1,13 @@
|
||||
// Basic arithmetic test
|
||||
local a, b, c, d, flag
|
||||
a = 10
|
||||
b = 20
|
||||
c = a + b
|
||||
print("10 + 20 = " + c)
|
||||
|
||||
d = c * 2
|
||||
print("30 * 2 = " + d)
|
||||
|
||||
// Boolean test
|
||||
flag = true
|
||||
print("Flag is: " + flag)
|
||||
Reference in New Issue
Block a user