Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It needs libraries, modules, preprocessor, something #78

Open
ghost opened this issue Nov 23, 2021 · 5 comments
Open

It needs libraries, modules, preprocessor, something #78

ghost opened this issue Nov 23, 2021 · 5 comments

Comments

@ghost
Copy link

ghost commented Nov 23, 2021

Nobody wants to reinvent the same functions over and over

@thezhe
Copy link

thezhe commented Nov 26, 2021

Not sure if this is exactly what you're looking for, but I'm actively developing a virtual analog effects library called SOUL-VA. It has some useful functions vectorization as well as some support for filters and anti-derivative anti-aliasing. As far as I know there aren't any other SOUL libraries, although I remember seeing some sort of Docker thing for sharing SOUL snippets some months ago on GitHub... maybe someone is still using that. Even with the lack of activity here, I still prefer to use SOUL over other high-level/DSLs. Hope that helps a little bit.

@ghost
Copy link
Author

ghost commented Nov 26, 2021

That is cool, what I mean is I can not find any thing in the language that supports loading your library like Python's import, or Lua's require, or C #include and linker. import is a reserved keyword but there doesn't seem to be any kind of modular programming feature to make reusable code. It looks like a cool language but without modular code reusability there isn't any purpose to use it over C/C++, Lua, Python etc.

@thezhe
Copy link

thezhe commented Nov 26, 2021

Yeah, I don't know any way to '#include' other than via the source line in .soulpatch. I simply use SOUL to force myself to stop obsessively micro-optimizing in C/C++ and assembly :)

@ghost
Copy link
Author

ghost commented Nov 27, 2021

Nevermind, I don't understand this thing yet at all. I think you make a patch file and can import all your libraries into it from there. I will try to use your library to test it.

@thezhe
Copy link

thezhe commented Nov 27, 2021

No worries, the latest commit uses a more traditional library structure if you need an example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant