vitreo12 / omni

DSL for low-level audio programming.
https://vitreo12.github.io/omni/
MIT License
185 stars 6 forks source link

Generate self-contained packages to download #19

Open vitreo12 opened 4 years ago

vitreo12 commented 4 years ago

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 commented 4 years ago

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!