/retro-ts

A Typescript port of RetroForth. Runs Retro in a browser.

Primary LanguageTypeScript

Typescript Port of RetroForth

Based on the original JS version with some minor "flavor" modifications.

LIVE DEMO

See the live demo here.

Does not work so great at the moment.

Developer Environment Setup

Install

git clone https://github.com/RickCarlino/retro-ts.git
cd retrojs
npm install

Run (Live Reload Server)

parcel server index.html

Visit http://localhost:1234/

Build / Deploy

NODE_ENV=production parcel build index.html --public-url ./

Files in ./dist can be uploaded to a webserver.

TODO

  • Add Monaco Editor to page instead of HTML text box.
  • Add VT100.js to page instead of HTML text box.
  • Improve canvas support
  • Use a step() function instead of a loop to avoid blocking main thread (use setInerval(0,...) instead).