Skip to content

siarhei-arzamasau/parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parser

Parser which parses code and builds AST

Installation

Run npm ci

Usage

Parse the code from the command-line

npm run eval '<YOUR CODE>'

Example:

npm run eval 'let x = 10; console.log(x);'

Parse the code from the source file

npm run eval-src '<PATH TO SRC>'

Example:

npm run eval-src '__tests__/example.lt'

Tests

Run npm run test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published