This shows you the differences between two versions of the page.
alf:teme:tema3_en_draft [2019/03/28 13:20] alexandru.radovici |
alf:teme:tema3_en_draft [2019/04/03 10:25] (current) alexandru.radovici |
||
---|---|---|---|
Line 721: | Line 721: | ||
#else | #else | ||
p := "Linux" {this source code is ignored if platform is not linux} | p := "Linux" {this source code is ignored if platform is not linux} | ||
- | end | + | #endif |
</code> | </code> | ||
Line 802: | Line 802: | ||
* your main file (set in package.json) | * your main file (set in package.json) | ||
* your javascript files (*.js) | * your javascript files (*.js) | ||
- | * your jison file (grammar.jison) | + | * your l and y file (grammar.l and grammar.y) |
* the package.json file | * the package.json file | ||
* the Readme file | * the Readme file | ||
Line 825: | Line 825: | ||
echo '{ "node":true, "loopfunc": true, "esnext":true }' > .jshintrc | echo '{ "node":true, "loopfunc": true, "esnext":true }' > .jshintrc | ||
jshint *.js | jshint *.js | ||
- | jison grammar.jison -o grammar.js | + | jison grammar.y grammar.l -o grammar.js |
</code> | </code> | ||