holey-bytes/hblang/text-prj/main.hb

12 lines
182 B
Plaintext
Raw Permalink Normal View History

2024-07-19 07:24:58 -05:00
foo := 0;
2024-07-20 11:52:24 -05:00
.{global, fib, Structa, create_window, WindowID} := @use("pkg.hb")
2024-06-01 13:29:35 -05:00
main := fn(a: int): int {
2024-07-19 08:51:02 -05:00
g := global
2024-07-20 11:52:24 -05:00
win := create_window()
return fib(g + Structa.(0, 0).foo)
2024-06-01 13:29:35 -05:00
}