# AP Pseudocode Interpreter
Includes:
- Rust library
- Command line interface
- Web interface
## Building
### Web Interface
Need installed: cargo, rust, npm
1. Install [`wasm-pack`](https://rustwasm.github.io/wasm-pack/installer/)
2. Install `cargo-generate`:
```
cargo install cargo-generate
```
3. Initialize javascript setup:
```
# if doing for first time
#npm init wasm-app www
cd www
npm install
```
4. Run with
```
npm run start
```
## TODO
- [ ] list
- [x] negative numbers
- [x] negation
- [x] NOT
- [ ] native functions: implement in Rust
- [X] CONCAT
- [ ] SUBSTRING
- [X] RANDOM
- ~~[ ] DISPLAY (?)~~
- [ ] robot stuff
- [ ] stepped execution