4 ms·
Tossing my hat in for Passerine [1]. Gorgeous ML inspired syntax. Written in Rust, and I suspect scripting Rust libraries is in the cards. Dreaming here: Lua i
by atweiden 5y ago
Tossing my hat in for Passerine [1]. Gorgeous ML inspired syntax. Written in Rust, and I suspect scripting Rust libraries is in the cards.
Dreaming here: Lua is a fantastic scripting language, but the Rust FFI isn’t as ergonomic as it could be. Enter Luster [2], which is basically LuaJIT rewritten in Rust.
Embedding a scripting language in a Rust application gives you tons of power (e.g. scripting Rust structs from Lua [3]), and setting this up isn’t terribly difficult.
[1]: https://github.com/vrtbl/passerine https://github.com/vrtbl/passerine
[2]: https://github.com/kyren/luster https://github.com/kyren/luster
[3]: https://git.sr.ht/~ioiojo/kiwi https://git.sr.ht/~ioiojo/kiwi
- xvilka 5y agoSadly, Luster project is either on hold or completely abandoned. I tried to use it, it's interesting concept but right now of no use at all.
- deleted 5y ago[deleted]
- alilleybrinker 5y agoFor anyone interested in languages written in Rust, here’s a list: https://github.com/alilleybrinker/langs-in-rust https://github.com/alilleybrinker/langs-in-rust
- slightknack 5y ago> Tossing my hat in for Passerine [1]. Gorgeous ML inspired syntax. I work on Passerine, cool to see the language mentioned in the wild, glad you like it! > Written in Rust, and I suspect scripting Rust libraries is in the cards. We have a rudimentary FFI to Rust already in place. We're also working on a proc macro lib for creating high-level bindings to Rust types/functions/crates (currently unreleased). Also working on an algebraic-effect-based system-injection engine, which will replace the FFI in the 0.10.0 or 0.11.0 release :)