Futago-za Ryuu
c59c81c318
Removed test coverage badges ( #598 )
2019-01-02 16:10:12 +00:00
Futago-za Ryuu
3986ca7048
Export utils explicitly
2019-01-01 13:57:33 +00:00
Futago-za Ryuu
e17cdabd4d
Use default arguments
2019-01-01 13:39:53 +00:00
Futago-za Ryuu
bdde25a9e4
Set up CI with Azure Pipelines ( #596 )
...
* Add support for Azure Pipelines
* Remove Travis CI support
* coverage: Generate cobertura and lcov reports only
* Add support for Code Climate
2019-01-01 12:26:41 +00:00
Futago-za Ryuu
9751980261
Remove unrequired ESLint rules
2018-11-05 12:06:23 +00:00
Futago-za Ryuu
27687615e5
Document filename option for generated parsers
2018-10-15 07:20:33 +01:00
Futago-za Ryuu
14b8b76a79
runInContext -> evalModule
2018-09-25 19:15:16 +01:00
Futago-za Ryuu
616749377b
Fix IE11 Support ( #583 )
...
- Revert ES6 changes to arithmetics.pegjs
- Use Array#forEach instead of for..of
- Don't use native Array#find & Array#findIndex
- Added util/arrays.js (find & findIndex)
- Use Function instead of eval
2018-09-25 17:59:38 +01:00
Futago-za Ryuu
e636ee654c
Update typings (Plucking)
2018-09-18 08:10:28 +01:00
Futago-za Ryuu
e0e9fbcd30
Unicode 11
2018-09-18 07:09:11 +01:00
Futago-za Ryuu
e64118f3b7
Update src/parser.pegjs
...
- use value plucking
- remove helpers not needed now
- types in OPS_* are now returned by *Operator
- RESERVED_WORDS is now a `Object<Identifier,true>`
- use ES2015+ JavaScript
- cleanup source code
2018-09-18 06:57:55 +01:00
Futago-za Ryuu
460f0cc5bc
Implement value plucking
...
Resolves #235 , #427 , #545
2018-09-17 11:32:34 +01:00
Futago-za Ryuu
26969475f7
IdentifierName > Identifier
2018-09-15 06:41:57 +01:00
Futago-za Ryuu
6bc85de256
Define version only in one place
2018-09-15 06:21:53 +01:00
Futago-za Ryuu
4b0f637626
Revert "Ensure VERSION is consistent"
...
This reverts commit 95abd42c95
.
2018-09-15 05:17:27 +01:00
Futago-za Ryuu
8b43c8419f
Use input/output from the config file
2018-09-14 03:43:09 +01:00
Futago-za Ryuu
95abd42c95
Ensure VERSION is consistent
...
The PEG.js version is exported and also written into the generated parser. In both these instances the version is a separate string, which means every time the version is bumped, it has to be changed in 3 places. This commit makes it slightly less of a maintenance burden.
2018-09-14 02:42:46 +01:00
Futago-za Ryuu
ecb81504cb
Remove redundant __slice
...
Should have been removed in #f66751b
2018-09-13 10:59:49 +01:00
Futago-za Ryuu
be88239543
Move PEG.js to packages/pegjs
...
* Move PEG.js from . to packages/pegjs
* Update relevanr paths
* Remove pegjs-dev; Use pegjs directly
* Generate browser files at packages/pegjs/dist
* nyc: exclude website
* website: keep packages folder
* Root package.json is private now
2018-09-08 02:39:12 +01:00