Setup by

npm i

To run the local server (changes pickeup on fly)

npm run dev

Optional (with out server):

Live compiling by executing:

npm run dev:tsc

Generates generate the js file

node lib/index.js examples/basic.tsmm (generates just the js file)

Generates generate/execute the js file

node lib/index.js examples/basic.tsmm --run (generates the js file and also executes the js file)

Note: The base sample code is picked from https://github.com/basarat/demo-compiler