Skip to content

codec-abc/human-resource-machine-program-evaluator-fable-version

Repository files navigation

HMRP Evaluator Fable CircleCI

Live Version!

This repository contains all the code necessary to build a simple application based on web technologies to evaluate Human Resource Machine programs.

Human Resource Machine is a fun game about assembly programming with a human taking the role of the CPU.

Dependencies

  • Nodejs and NPM
  • Fable own dependencies (F# 4.0 and node 4.4) see Fable site for more information

Install dependencies

npm install -g fable-compiler
npm install -g webpack
npm install

Compile And Run

Compile

fable ./src/evaluator/hmrpEvaluator.fsx --outDir ./output && webpack --config webpack.config.webWorker.js
fable
webpack

Run

Once compiled open public/index.html

To Auto-Compile/WebPack/Reload on save

Run only the first time

npm install -g live-server

Then in a different terminal for each command

fable ./src/evaluator/hmrpEvaluator.fsx --outDir ./output -w 
webpack --config webpack.config.webWorker.js -w
fable -w
webpack -w
live-server

Useful links