Commit graph

1402 commits

Author SHA1 Message Date
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 4964b9af7e Add pegjs.org/development/try 2018-09-17 14:27:59 +01:00
Futago-za Ryuu c65e9dd95f Updated dependencies 2018-09-17 13:27:31 +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 aadc318fcd Add a guide for the CLI 2018-09-13 09:13:29 +01:00
Futago-za Ryuu 7813c07025 Fix: global variable is peg, not PEG 2018-09-13 05:14:52 +01:00
Futago-za Ryuu 506419474d Include yarn.lock on zeit.now deployment 2018-09-11 11:09:02 +01:00
Futago-za Ryuu dd044b8cfb remove extronous files 2018-09-11 11:01:42 +01:00
Futago-za Ryuu 46280b3992 Use cdn for jQuery 2018-09-11 11:00:00 +01:00
Futago-za Ryuu dd76ff85d4 Update execution files 2018-09-11 10:32:23 +01:00
Futago-za Ryuu 8c751e6917 Istanbul: only check packages 2018-09-10 05:20:13 +01:00
Futago-za Ryuu 445cdcde44 ensure zeit.now ignores devDependencies 2018-09-10 05:08:47 +01:00
Futago-za Ryuu 2b543ed97a browserify -> rollup 2018-09-10 04:57:12 +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
Futago-za Ryuu 35a650dc50 Update dependency: babelify@v10 2018-09-07 09:49:21 +01:00
Futago-za Ryuu 60c81d1cba Update paths 2018-09-07 09:39:10 +01:00
Futago-za Ryuu 46ce02404f Remove refs to removed files. 2018-09-06 15:36:31 +01:00
Futago-za Ryuu a8d8afbbda Add missing dirs for websites test suites 2018-09-06 12:58:23 +01:00
Futago-za Ryuu f09f2f2cb4 Move CBT logo 2018-09-06 12:42:42 +01:00
Futago-za Ryuu 5e7134936b Merge the test suites into the website 2018-09-06 12:38:26 +01:00
Futago-za Ryuu 4596daae28 Add config for Zeit Now 2018-09-06 08:32:55 +01:00
Futago-za Ryuu dfbfdd350b Import source code for pegjs.org 2018-09-06 05:52:02 +01:00
Futago-za Ryuu 7c93ffb22b Move old changelogs to docs/changelogs [ci skip] 2018-09-05 23:03:47 +01:00
Futago-za Ryuu 8bd4d390a9 Add linkback to CrossBrowserTesting [ci skip] 2018-09-05 22:00:36 +01:00
Futago-za Ryuu 7edc7d902b Merge branch 'master' of github.com:pegjs/pegjs 2018-09-05 10:22:14 +01:00
Futago-za Ryuu f66751ba39 prefer rest and spread 2018-09-05 10:16:34 +01:00
Futago-za Ryuu 60f69d6558 Stop ESLint warnings
- about use of eval
- whitespace before comments
2018-09-05 08:54:35 +01:00
Futago-za Ryuu b92690392e Extend the main .eslintrc.js 2018-09-05 08:53:32 +01:00
Futago-za Ryuu 0089da6698 Use Babel 7 dependencies 2018-09-05 08:03:51 +01:00
Futago-za Ryuu 2790479154 Update dependencies 2018-09-05 04:04:14 +01:00
Futago-za Ryuu 3cedf4439d Update supported platforms
- Drop support for Node.js v4
- Add support for Node.js v10
- Drop support for IE < 11
2018-09-05 01:37:57 +01:00
Futago-za Ryuu 06c9400bca
Update plugins.md 2018-05-09 22:59:45 +01:00
Futago-za Ryuu 4089aac71e Use util.processOptions 2018-04-05 08:41:47 +01:00
Futago-za Ryuu b8db835af9 Refactor vm.runInContext 2018-04-05 08:16:50 +01:00
Futago-za Ryuu 94ca36469b Move compiler/vm.js to util/vm.js 2018-04-04 20:21:31 +01:00
Futago-za Ryuu 146d021d21 Updated keywords for NPM 2018-04-04 19:15:04 +01:00
Futago-za Ryuu fbc8ea2bdf Add an ignore file
The gulp file is usuaully used to glob the JavaScript files and run ESLint on them, but editor based instances of ESLint (e.g. VSCode extension) don't read the gulp file, so can't tell which files to ignore unless specified in the official .eslintignore file.
2018-04-04 18:24:05 +01:00
Futago-za Ryuu b81396a904 Regenerate parser 2018-04-03 03:17:30 +01:00
Futago-za Ryuu b31009f73d Use peg.util.reservedWords 2018-04-03 03:16:55 +01:00
Futago-za Ryuu 01555ebbac Move compiler/js.js to util/js.js 2018-04-03 03:16:10 +01:00
Futago-za Ryuu 8d3dc109ed Rename js.regexpClassEscape to js.regexpEscape 2018-04-02 21:17:35 +01:00
Futago-za Ryuu 878421ab75 Moved seperate utilities into util route. 2018-04-02 20:59:13 +01:00
Futago-za Ryuu 83e3b9edc4 Add missing whitespace to generated parsers 2018-04-01 02:51:53 +01:00