This is my attempt at writing a runtime environment and debugger for the Alpha-Notation used in my Systemnahe Informatik lecture at university.
Programs are read in and interpreted, a terminal ui is then opened where you can run the program line by line or by using breakpoints. It is also supported to start a playground environment by using the playground command.
Pull requests and bug reports are welcome. See CONTRIBUTING.md for further details.
- Download the newest release specific for your system
- Extract the .zip file
- Create a program by using the text editor of your choice or try an example program located in examples/programs. The examples might help you write your program.
- Run
alpha_tuiby opening a terminal in the folder and then typing.\alpha_tui load FILENAME, for an example program this command could look like this:.\alpha_tui load examples/programs/faculty.alpha - The terminal ui will open where you can run the program line by line by using the
[r]key
To compile the program from source the rust toolchain is needed (install via rustup). Once installed you can run the program by typing cargo run. To submit arguments you can use --, for example cargo run -- -h will print help.
This Repository provides a flake. If you have flakes enabled you can use
nix shell github:lmh01/alpha_tui
to start a shell in which alpha_tui is installed.
