This is my Compiler written in TypeScript with frontend HTML. Compiles custom language (see grammar) to modified set of 6502 op codes. See http://www.labouseur.com/courses/compilers/ for details.
- Install npm, if you don't already have it
npm install -g typescript
to get the TypeScript Compilernpm install -g gulp
to get the Gulp Task Runnernpm install --save-dev -g gulp-tsc
to get the Gulp TypeScript plugin
- Follow the commands in the c file (Mac) or the compile.bat (Windows) file or
- Run gulp (see workflow below)
- Open the index.html in the browser.
Configured with Gulp to autocompile TypeScript