All the code lives in src/plugin.nim. Plugins use src/pluginapi.nim and the 
plugin folder has many examples. Some stuff is in src/globals.nim that will 
need to get pulled out. src/sci.nim shows how to start the plugin system. It 
should be easy to extract and use it for some simple tests.

Feud is Windows only today but I have tested the plugin system on Linux and it 
works fine, should be cross platform.

Also, it is only functional and tested on \--gc:boehm since it manages memory 
correctly across threads and DLLs. \--gc:arc will do the same, per Araq, but it 
has not been tested.

If there is real interest, I am willing to pull out the plugin system from feud 
and make it an independent package that can be installed with nimble.

Reply via email to