A compiler for a subset of TypeScript. Based on Compiling to Assembly from Scratch by Vladimir Keleshev.
I'm developing this on Windows with WSL. Here's how I set up WSL:
$ apt-get install build-essentials
$ apt-get install gcc-arm-linux-gnueabihf
$ apt-get install qemu-user
The run
script can be run from Git Bash or Cygwin:
$ ./run ./examples/hello-world.ts
If you want to run code in dynamic typing mode, use run-dynamic
:
$ ./run-dynamic ./examples/dynamic.js
Parser tests:
$ npm test
Integration tests:
./integration