-
Notifications
You must be signed in to change notification settings - Fork 234
Open
Description
I am currently working on a package manager, and the next part, actually making it so that when you install a package, it goes into the include/import/require scope for streem. But we haven't even specified how that should work yet. I was wondering if anyone has any ideas?
My idea looks something like this:
import("package")
# and then, package.blah
It wouldn't be that hard to implement that once we have objects of some kind. Just use the interpreter to eval that file before the rest of the code is executed. And the assign the anonymous class that executing the file returns to the name of the file. I implemented a toy language called Bike in ruby that did it that way.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels