SBTCVM / SBTCVM-Mark-2

[no longer supported, please see SBTCVM-Gen2-9] Simple Balanced Ternary Computer Virtual Machine: Mark 2 is a simple Balanced Ternary VM programmed in python and Pygame.
https://sbtcvm.blogspot.com/
GNU General Public License v3.0
14 stars 5 forks source link

Addons. creating a coherent way of having additional utilities. (before we wind up with a mess) #5

Open ThomasTheSpaceFox opened 7 years ago

ThomasTheSpaceFox commented 7 years ago

Basic idea:

The idea would be having a "addons" directory, and having each add-on having its own directory under that. (that way we can ignore them with the .gitignore file) and having a basic way for programs to "register" command shell commands and launcher icons, and perhaps when we get around to it, file types in the fileviewer.

The Idea for the user is that these additional utilities should work in a seamless fashion.

the tricky part would be having to run said python programs from the base directory of the repository so they could access the backend and files and whatnot correctly.

This might also help with components not necessarily needed by all users, or components that involve C or some other compiled language.

as far as addon configuration, XML would be a logical choice.

though, this can (and probably should) wait until after v2.0.3. Because we should do this right the first time and not rush this.

Though we should also not wait until we have a mess of disorganized addons.

@SBTCVM/core-devs

eekee commented 6 years ago

Stray idea: a sort of API over pipes. The add-ons could be run with stdin/out piped to the launcher for communication. I have no idea if this could work in Windows.