hrmsandbox
A sandbox for Human Resource Machine programs. There is a similar project hrm-cpu which works under ES6, and there are projects with level data and with solutions. There is also an excellent JavaScript viewer for web based projects.
Web Demo
Try a live demo of the HRM Sandbox.
Installation
Download node at nodejs.org and install it, if you haven't already.
$ npm install hrmsandbox
Usage
$ hrmsandbox --file=min-of-3.hrm -- 3 5 -1 2 -9 -9 13 -20 0INBOX:[ 3, 5, -1, 2, -9, -9, 13, -20, 0 ]VARIABLES:
Tests
Tests use tape
and require tap
:
$ npm install$ npm test > hrmsandbox@0.2.0 test /tmp/hrmsandbox> tap test/*.js test/syntax.js ........................................ 13/13total ................................................. 13/13 13 passing ok
Dependencies
- minimist
Dev Dependencies
- peg.js
License
MIT