Skip to content

A compiler implemented with TypeScript and HTML5

Notifications You must be signed in to change notification settings

Holayn/KaiCompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kompailer

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.

Setup TypeScript/Gulp

  1. Install npm, if you don't already have it
  2. npm install -g typescript to get the TypeScript Compiler
  3. npm install -g gulp to get the Gulp Task Runner
  4. npm install --save-dev -g gulp-tsc to get the Gulp TypeScript plugin

Compiling

  1. Follow the commands in the c file (Mac) or the compile.bat (Windows) file or
  2. Run gulp (see workflow below)

Running the Compiler

  1. Open the index.html in the browser.

Configured with Gulp to autocompile TypeScript

About

A compiler implemented with TypeScript and HTML5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages