omni icon indicating copy to clipboard operation
omni copied to clipboard

Generate self-contained packages to download

Open vitreo12 opened this issue 4 years ago • 1 comments

These packages should be for each language (SC, max, pd), and they should contain:

  1. The nim compiler
  2. The omni package
  3. The binary for the specific language

The compiler pipeline, then, should call to the said nim compiler, and not the global one. This also should require the user to have a C compiler already installed (both Linux and MacOS come pre-bundled with it, so no worries). Then, by simply putting the folder in like the SC's Extensions folder, the JIT compiler should work on next SC boot.

vitreo12 avatar Jan 10 '20 11:01 vitreo12

zig cc can be used as the standard C compiler, so it can be embedded in: https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html

This could also allow for cross-compiling omni code between Windows/MacOS/Linux!

vitreo12 avatar Mar 25 '20 12:03 vitreo12