pseudocode 0.1.3

AP CSP Pseudocode interpreter (rough cut)
Documentation

AP Pseudocode Interpreter

Includes:

  • Rust library
  • Command line interface
  • Web interface

Building

Web Interface

Need installed: cargo, rust, npm

  1. Install wasm-pack
  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
  • negative numbers
  • negation
  • NOT
  • native functions: implement in Rust
    • CONCAT
    • SUBSTRING
    • RANDOM
    • [ ] DISPLAY (?)
  • robot stuff
  • stepped execution