4 ms·
Not exactly Forth, but I implemented a small branchless Forth-like language in Go for audio synthesis and music: https://github.com/boomlinde/acidforth https:/
by boomlinde 8y ago
Not exactly Forth, but I implemented a small branchless Forth-like language in Go for audio synthesis and music:
https://github.com/boomlinde/acidforth https://github.com/boomlinde/acidforth
I think entirely procedural languages are a nice fit for this domain since they make order of operations apparent. Going for something Forth-like was obvious, since it's terse, trivial to implement and makes factoring easy.
That said, I think the documentation of this project is a bit out of date, that the overall architecture is flawed and that stack juggling can be a bit distracting when working with more complex algorithms. I intend to rewrite it some day.