This commit is contained in:
Aleksey Chichenkov 2019-01-30 14:21:40 +03:00
parent e3de12d9cc
commit bf517c9e66
1 changed files with 12 additions and 1 deletions

View File

@ -9,10 +9,19 @@
```bash
npm install
```
## One Minute Guide
You can fast use example:
```bash
npm install
./build_example.sh
cd examples/
node lexme.js
```
## Start
```bash
node main.js -o=<output_path> -t=<web|node> <-nb|--no-beautify>
node main.js -inp=<input_file> -o=<output_path> -t=<web|node> <-nb|--no-beautify> <-logs>
```
or
```bash
@ -22,9 +31,11 @@ Result fill write in <lexer.js> file.
## Flags
```bash
-inp=<input_file.l>
-o=<output_path>
-t=<web|node>
-nb|--no-beautify
-logs
```
## Test