This commit is contained in:
Aleksey Chichenkov 2019-01-30 14:21:40 +03:00
parent e3de12d9cc
commit bf517c9e66

View File

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