readme
This commit is contained in:
parent
e3de12d9cc
commit
bf517c9e66
13
README.md
13
README.md
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user