mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-02-06 20:50:55 +08:00
168f365cde
- all import statement (native or script file) have the same syntax - allow relative (including parent directory) imports - cyclic imports are handled by caching the scripts - `import foo` can potentially import `<searchpath>/foo/_init.pk` - * import are not supported anymore
13 lines
81 B
Plaintext
13 lines
81 B
Plaintext
|
|
def f1()
|
|
return 'f1'
|
|
end
|
|
|
|
def f2()
|
|
return 'f2'
|
|
end
|
|
|
|
def f3()
|
|
return 'f3'
|
|
end
|