Futago-za Ryuu
2790479154
Update dependencies
6 years ago
Futago-za Ryuu
3cedf4439d
Update supported platforms
...
- Drop support for Node.js v4
- Add support for Node.js v10
- Drop support for IE < 11
6 years ago
Futago-za Ryuu
4089aac71e
Use util.processOptions
7 years ago
Futago-za Ryuu
b8db835af9
Refactor vm.runInContext
7 years ago
Futago-za Ryuu
94ca36469b
Move compiler/vm.js to util/vm.js
7 years ago
Futago-za Ryuu
146d021d21
Updated keywords for NPM
7 years ago
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.
7 years ago
Futago-za Ryuu
b81396a904
Regenerate parser
7 years ago
Futago-za Ryuu
b31009f73d
Use peg.util.reservedWords
7 years ago
Futago-za Ryuu
01555ebbac
Move compiler/js.js to util/js.js
7 years ago
Futago-za Ryuu
8d3dc109ed
Rename js.regexpClassEscape to js.regexpEscape
7 years ago
Futago-za Ryuu
878421ab75
Moved seperate utilities into util route.
7 years ago
Futago-za Ryuu
83e3b9edc4
Add missing whitespace to generated parsers
7 years ago
Futago-za Ryuu
af917b1e4d
Refactor removeProxyRules
7 years ago
Futago-za Ryuu
dbdba75b15
run plugins optionally
7 years ago
Futago-za Ryuu
7e10622b9a
Update lockfile
7 years ago
Futago-za Ryuu
1fca2daff6
Move processOptions to utils
7 years ago
Futago-za Ryuu
b5d01f7505
Test only the latest versions of LTS releases
7 years ago
Futago-za Ryuu
c2c823196f
Re-generate parser
7 years ago
Futago-za Ryuu
699038c507
Link to doc for plugins
7 years ago
Futago-za Ryuu
ab9b8d41bb
Add doc for tracer.trace
7 years ago
Futago-za Ryuu
87ad103177
Move nyc options to separate config
7 years ago
Futago-za Ryuu
94a5f24817
Use only Yarn
7 years ago
Futago-za Ryuu
b3329e626e
Integrate yarn
7 years ago
Futago-za Ryuu
6335818cb7
Gulp 4
7 years ago
Futago-za Ryuu
3745195315
Make the default tracer an optional feature
7 years ago
Futago-za Ryuu
72ba85b3af
Use 'visitor.on' instead of 'visitor.for'
7 years ago
Futago-za Ryuu
7cd291cbe0
Add doc for plugins ( closes #544 )
7 years ago
Futago-za Ryuu
70dea07923
Update twitter link
7 years ago
Futago-za Ryuu
46c3dcf40b
Document Session#fatal method
7 years ago
Futago-za Ryuu
f4ca7ca461
Remove grammar option for Session API
7 years ago
Futago-za Ryuu
6d25da2d2b
Use bare option with browserify
7 years ago
Futago-za Ryuu
126a4c95f4
Update devDependencies
...
Closes #568
7 years ago
Futago-za Ryuu
2f0680ca16
Restore orignal output on generation fail
...
If the output file already exists, and the parser generator fails, the result is a empty file. This commit tries to avoid this pitfall.
7 years ago
Futago-za Ryuu
21a6de06d5
Optional features
...
This commit enables optional features that are enabled by default in the generated parser.
For now, only some of the helpers and filename are generated based on this new option, but this will change in the future most likely.
Resolves #421
7 years ago
Futago-za Ryuu
15d364587c
Update tsd to include changes since 8e9be9a
7 years ago
Futago-za Ryuu
2ac387e1c9
Move documentation
...
The README.md file in the root of the repository had become too large, and as a result the file became hard to maintain.
This commit extracts all the documentation and moves it to separate but managable files within the docs directory, a new folder also located in the root of the repository.
7 years ago
Futago-za Ryuu
418f441d88
Ignore '.idea' directory
7 years ago
Futago-za Ryuu
fedf0f3480
Resolve 'vm.runInContext' bottleneck
...
Calling 'vm.runInContext' is slightly more expensive then calling `eval`, but removing the string template and extracting the variable generator helps abit.
7 years ago
Futago-za Ryuu
43a305eaef
Clarify templates
...
- what to chose and do
- remove checkboxs
- all question in comments
- reformat style
7 years ago
Futago-za Ryuu
b3135690b0
Not session.fail but session.fatal
7 years ago
Futago-za Ryuu
30cfa29553
Provide context to parser ( #517 )
7 years ago
Futago-za Ryuu
04dfef3b63
Use error emitter ( Closes #430 )
7 years ago
Futago-za Ryuu
ef0595596f
Implement error emitter ( Closes #431 )
...
Along with commit 851d8ed
, this resolves #431 based on the fact that plugins can overwrite session methods, allowing use cases like multiple or limited errors (and/or warnings) to be an opt-in feature.
7 years ago
Futago-za Ryuu
a11d217167
Updated devDependencies
7 years ago
Futago-za Ryuu
621b11b715
Disable no-unused-vars in Session API
7 years ago
Futago-za Ryuu
6500189d58
Report unused rules ( Closes #200 )
7 years ago
Futago-za Ryuu
851d8edfdd
Implement warning emitter ( Closes #327 )
7 years ago
Futago-za Ryuu
f4c67993f6
Added the Session API
7 years ago
Futago-za Ryuu
8e9be9afea
Use CommentMap
7 years ago