BasicRS is a Rust implementation of a BASIC Interpreter, as well as a compiler.
The compiler works by generating LLVM IR code which then must be compiled with clang. Almost every platform has clang.
cargo test --lib
The BASIC test quite is a set of BASIC programs that test the implementation of BASIC.
cargo test --test run_tests
cargo run -- test_suite/hello.bas
A shell script which runs tests and summarizes results. Does the same as cargo test, but more readable.
A LINE is made up of multiple STATEMENTS, each one beginning with a KEYWORD.
100 PRINT X:GOTO 200
"PRINT X" and "GOTO 100"
"PRINT", and "GOTO"