mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-05-02 19:00:47 +08:00
🚀 add a new way to import other files:
`import("./stl/queue.nas");` now has same function as `import.stl.queue;`
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# coroutine.nas by ValKmjolnir
|
||||
# 2022/5/19
|
||||
import("stl/process_bar.nas");
|
||||
import.stl.process_bar;
|
||||
|
||||
var fib=func(){
|
||||
var (a,b)=(1,1);
|
||||
coroutine.yield(a);
|
||||
|
||||
Reference in New Issue
Block a user