mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-02-06 04:37:47 +08:00
8c039b5d77
functions and classes are moved to constant buffer, and forward names are resolved for globals.
11 lines
100 B
Plaintext
11 lines
100 B
Plaintext
|
|
module g_import
|
|
|
|
def get_a_value()
|
|
return "foobar"
|
|
end
|
|
|
|
g_var_1 = 1 + 2
|
|
g_var_2 = get_a_value()
|
|
|