Althread is an open source Promela alternative for modeling and verifying multi-threaded systems.
- Simple modeling of concurrent systems.
- Automatic detection of race conditions and deadlocks.
- Advanced debugging tools.
- Easy-to-learn syntax for beginners.
- array
- dictionnary
- regex
- visual representation of the global state
-
Clone the repository:
git clone https://github.com/althread/althread.git -
Navigate to the directory and compile :
cd althread cargo build -
Run an example
cargo run run test.alt
Here is a minimal example of modeling a multi-thread system :
program A() {
print("Hello world from A process");
}
main {
run A();
print("Hello world from main");
}
- Check out the full documentation for more examples, guides and a reference of symbols.
- https://www.rust-lang.org/fr
- https://pest.rs/
- https://docs.rs/clap/latest/clap/
- https://craftinginterpreters.com/contents.html
- https://github.com/tdp2110/crafting-interpreters-rs?tab=readme-ov-file
MIT License. Contributions are welcome !