-
Notifications
You must be signed in to change notification settings - Fork 0
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
Collab #1
Comments
One proposal / question - why instead of stream |
Hi! Both of the projects you linked look awesome, yeah, i think we're trying to build the same thing, if not very similar! I'm on Libera irc as stagas if you'd like to have a chat. The example is a very vague design and doesn't have an exact implementation yet, I do however have an expression compiler (unpublished yet) that targets WebAssembly directly (no binaryen or anything else, builds raw wasm on the fly in less than 5ms, you could literally compile a new function on every animation frame xD) and is designed to support features like argument extraction and push variables from outside easily (gets you a list of arguments and their ranges and you can make a knob on the frontend for example on the fly). Yeah I'm happy to have a chat, IRC is easier for me, i don't use anything else but if you have some other idea for communication let me know. (the operator choice if i remember correctly was because it was complicating my parsing so i changed it to make the parser impl. smoother, but that's legacy already :p) |
That's cool. I had a plan for subscript to learn to compile to wasm binary too. Maybe I can learn how to hook it up to your compiler - or just use that instead. Do you have some example or docs how you run it? I guess I'd very much liked to come up with standardized syntax that we can share, for now I'm coming from "common syntax" assumption - would be cool to have sound code-chunks that you can copy-paste to any more-less standard language - Python, Go, JS, C++, Java, Rust - they share some syntax parts. Something like glsl but for sound. Also would be cool to come up with single way to define sounds. A couple moments.
Couldn't find you in irc, is that https://web.libera.chat/? Need some intro, haven't used irc for ages. |
You could use a client like HexChat though the web client should work i just tried it. Just send me a |
Re: our IRC conversation
I think syntax is a bikeshed, what I am aiming now is to get a normal infix ( So in short, there are implementation difficulties that are not necessarily related to syntax as it can be subjective. The aim is to build an "intermediate"-kind language that does the "hard work" of managing state and variables etc, so then other syntaxes can be built on top, or used on its own. Given it being an intermediate its syntax is going to be determined by what's easier/simpler for the compiler/parser to process, doesn't add complexity to the code and is still usable on its own. Once there's an engine like that and it's working and it's producing audio correctly and robustly, anyone can experiment with whatever syntax they imagine as this is going to vary always (there is no perfect syntax). |
Hi!
Pretty cool project.
I was working on a very similar tool (called sonr - very preliminary sketch is here), even created syntax parser for that.
I like how you solved pipelining as
a | b($ + x) | c
Was struggling a bit with figuring out operators overloading vs t param, found out that
t
param allows flexibility in defining soundJust wanted to know if you'd be open to sharing some insights / collab?
Curious if we would be able to come to the same syntax.
The text was updated successfully, but these errors were encountered: