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.
alpha_tui
by 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
[r]
keyTo 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.