Re:Roto: A Compiled Scripting Language for Rust
by cess11 on Wednesday May 21, 2025 @12:31PM
(#44053217)
So no clear examples?
Re:Roto: A Compiled Scripting Language for Rust
by mikepurvis on Wednesday May 21, 2025 @12:37PM
(#44053275)
In the Java/Groovy space, Jenkins and Gradle are the obvious ones.
I'm less familiar with the Lua world (not a gamedev), but this is an example of the kind of thing I'm imagining— a build system / task runner that's half lua and half C/C++: https://github.com/xmake-io
Having a modern on-prem replacement for Jenkins/Rundeck built in rust and exposing a roto interface rather than yaml definitions sounds like it would be great.
Alternatively, look at a project like ruff— hundreds of linter rules statically implemented in native Rust [1], maybe that would make more sense if the rules could be more tersely expressed as runtime-loadable roto scripts that have access to the Python AST and a toolkit of Rust-supplied functions for manipulating and inspecting it?
[1]: https://github.com/astral-sh/ruff/tree/main/crates/ruff_lint...