This commit is contained in:
Aleksey Chichenkov 2019-01-30 18:07:22 +03:00
parent b70e55ca4f
commit cc59556b65
2 changed files with 7 additions and 8 deletions

View File

@ -14,10 +14,16 @@ gcc -o ./lemon-src/lemon-js -O2 ./lemon-src/lemon-js.c
./build.sh ./build.sh
``` ```
## Start
```bash
node main.js --c=<your_config>.js --t=<web|node>
```
## Example (One minute start) ## Example (One minute start)
Also you can build example config Also you can build example config
```bash ```bash
./build-example.sh ./build-example.sh
node main.js node main.js
#or test if want check work #or test if want check work
node test.js node test.js
@ -43,11 +49,6 @@ cat config.template > config.js
cat config.example > config.js cat config.example > config.js
``` ```
## Start
```bash
node main.js --c=<your_config>.js --t=<web|node>
```
## Test ## Test
Also you can test your parser Also you can test your parser
```bash ```bash

View File

@ -2,6 +2,4 @@
gcc -o ./lemon-src/lemon-js -O2 ./lemon-src/lemon-js.c gcc -o ./lemon-src/lemon-js -O2 ./lemon-src/lemon-js.c
cat config.example > config.js cat config.example > config.js
node main.js