https://github.com/boxdot/basic-rs
Minimal BASIC interpreter written in Rust
https://github.com/boxdot/basic-rs
Last synced: 5 months ago
JSON representation
Minimal BASIC interpreter written in Rust
- Host: GitHub
- URL: https://github.com/boxdot/basic-rs
- Owner: boxdot
- License: apache-2.0
- Created: 2018-08-01T10:10:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-29T08:40:31.000Z (almost 7 years ago)
- Last Synced: 2025-04-06T22:43:09.533Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 483 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# BASIC Interpreter ![Build Status][travis]
Implementation of BASIC interpreter in Rust. The implementation follows the [ECMA-55] specification.
This project is **WIP**:

1. Pick any tests marked with `try_test_program` in [tests/integration.rs](tests/integration.rs).
2. Change the test to use the `test_program` macro.
3. Run `cargo test PXXX` where `XXX` is one of the tests you want to fix.
4. Read the [ECMA-55] spec. 😀
5. Implement parsing in `src/parser.rs`.
6. Implement interpreter in `src/interpreter.rs`.
7. If needed, extend model in `src/ast.rs`.
8. Run `cargo test` to see if you made any other tests pass!
9. Profit!
[ECMA-55]: https://buraphakit.sourceforge.io/ECMA-55,1st_Edition,_January_1978.pdf
[travis]: https://travis-ci.com/boxdot/basic-rs.svg?branch=master