Pietre is interpreter for esoteric language Piet.
node dist/piet.js my_input
Currently Pietre implements the common specification. It supports white blocks and user inputs. Program relying on character sequences as input are supported if EOL is used sequence delimiter.
npm install
npm run build
npm run test
To parse a bitmap see buildProgramGraph(data: number[][], w: number, h: number): Program
from programGraph.ts
.
To load a program in a Runtime
, use loadProgram(Runtime: runtime, program: Program)
from runtime.ts
.
See runUntilPause(runtime: Runtime)
to run a loaded program until next user inputs (or program termination) from runtime.ts
.
To a program for the CLI, see pietre.ts
- Handle different codel sizes
- Improve CLI.
- Add options to specify undefined behaviors (Non standard colors, non standard instruction interpretations).
- Clean up exports.
- Vizual execution.