arturo-lang / arturo

Simple, expressive & portable programming language for efficient scripting
http://arturo-lang.io
MIT License
707 stars 32 forks source link

[Paths\module] Re-implement & change behavior of built-in function #626

Closed github-actions[bot] closed 11 months ago

github-actions[bot] commented 2 years ago

[Paths\module] Re-implement & change behavior of built-in function

This should actually check if the aforementioned module/package is installed first.

If not, it should look it up - and if available online - download it and install it.

This obviously goes hand-in-hand with the development & implementation of Arturo's new package manager.

https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/library/Paths.nim#L226

                push(newStringBlock(contents))

        # TODO(Paths\module) Re-implement & change behavior of built-in function
        #  This should actually check if the aforementioned module/package is installed first.
        #  If not, it should look it up - and if available online - download it and install it.
        #  This obviously goes hand-in-hand with the development & implementation of Arturo's new package manager.
        #  labels: library, package manager, enhancement
        builtin "module",
            alias       = unaliased, 
            rule        = PrefixPrecedence,

b21e2b96149518a019d5bc48f1cb5ee21f33a8a5

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

Closing issue as stale.