TomasKukumberg / AST

Transform .tsc file code into a different code using Abstract syntax tree (AST).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AST

Run the project

1. Clone the project

git clone https://github.com/TomasKukumberg/AST.git

2. Change into folder

cd AST

3. Install typescript globally

npm install -g typescript

4. Install dependencies

npm install

5. Make a new folder in data folder

mkdir data/output

6. Compile the typescript file

tsc main.ts

7. Run the project with Node.js

node ./main.js data/input/ data/output/

About

Transform .tsc file code into a different code using Abstract syntax tree (AST).


Languages

Language:TypeScript 100.0%