A structured text compiler written in Rust, utilizing the LLVM framework for native code compilation.
Structured Text is a popular language in the domain of automation. A standardized specification of the language (IEC 61131) was published in the 90s. It was updated several times in the meantime, while its initial spirit - being built for cyclic, robust and deterministic automation applications - still applies.
Several automation platform suppliers built proprietary compilers and runtime libraries, native to the vendor's hard- and software platform.
RuSTy is aiming towards a fast, modern and open-source industry-grade ST compiler for a wide range of platforms, sticking close to the standard.
The easiest way to build this project is the provided dev container. Open the repository in VS Code and choose "Reopen in Container". The container is based on Ubuntu 26.04 and contains everything you need to run cargo build, cargo test and the lit test suite.
If you want to build the project natively, start here.