h3rald / min

A small but practical concatenative programming language and shell
https://min-lang.org
MIT License
311 stars 23 forks source link

dynamic libraries, feature request #56

Closed zenon closed 3 years ago

zenon commented 4 years ago

Sorry for spamming. This is the last for today :-)

I can give min the option to (un)install a dynamic library. To find out which ones are loaded, I have to look at $HOME/.minlibs/ (%HOMEPATH%.minlibs\ on Windows.

Is there a way to find out from inside min?

I imagine two functions

dynlib? : string/symbol -> bool dynlibs : empty -> list of symbols

h3rald commented 4 years ago

LOL @ "for today"

Yes! Agreed. I'll add them.

Out of curiosity... did you manage to get a dynamic library to work? On what system? (See #13)

zenon commented 4 years ago

Ah. No. This was a thought while reading the documentation.

h3rald commented 3 years ago

Closing as dynamic support has been removed. At least until there's a way to implement it tidily in a cross-platform way.