Skip to content

bbcfive/Rua-AST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rua

This is a super tiny compiler for language Rua.

Tech Stack

Useful Tools

Available Scripts

npm run install

Install the necessary packages.

npm run start

Runs the /src/rua.js and draw AST tree in console.

npm run test

Launches the test runner in the interactive watch mode.

npm run lint

Run the linter for all files alongside with code autoformatting (via prettier).

Project structure diagram

Rua
│─ src
│  ├── ast.js
│  ├── astBuilder.js
│  ├── compiler.js
│  ├── parser.js
│  ├── rua.js
│  └── myGrammar.ohm
│─ examples
│  ├── ex1.rua
│  ├── ...
│  └── ex4.rua
│─ tests
│  ├── parser.test.js
│  ├── compiler.test.js
│  └── astBuilder.test.js
├── .eslintrc.js
└── package.json

About

This is a super tiny compiler for language Rua.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors