Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[for reference] all work done which is not in original repo #338

Open
wants to merge 2,108 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2108 commits
Select commit Hold shift + click to select a range
637d3a3
fixup the error-handling-and-yyerrok* examples: remove extra newlines…
GerHobbelt Oct 29, 2017
c3255fd
observed in one of the examples: lingering `yyleng = 0;` statement af…
GerHobbelt Oct 29, 2017
2109eed
further work on https://github.com/GerHobbelt/jison/issues/25: fix lo…
GerHobbelt Oct 29, 2017
f946d36
https://github.com/GerHobbelt/jison/issues/25: yet another kernel fix…
GerHobbelt Oct 30, 2017
c4e5e7f
add a `make profile` task to simply only run the profiler tasks in ex…
GerHobbelt Oct 30, 2017
008454a
regenerated library files and updated NPM packages.
GerHobbelt Oct 30, 2017
0e3ee7b
fix checkActionBlock(): fix off-by-one mistake when this one reports …
GerHobbelt Oct 30, 2017
bd2a4ed
add `make comparison` and `make lexer-comparison` tasks to help us co…
GerHobbelt Oct 30, 2017
d0d982a
use *positive* statements in jison code generator analysis report whi…
GerHobbelt Oct 30, 2017
8c12447
tweak examples to pass the JS validation tests for all action code sn…
GerHobbelt Oct 30, 2017
5d8b913
work-in-progress: clean up and improve the lexer code generator to de…
GerHobbelt Oct 30, 2017
ef1732a
parser kernel fix: when `yyError()` internally invokes `parseError()`…
GerHobbelt Oct 30, 2017
99ae63f
tweak: do NOT clean up the error recovery info until the parse is done:
GerHobbelt Oct 30, 2017
eade44d
lexer kernel: introducing two new APIs and augmenting the pre/post ca…
GerHobbelt Oct 30, 2017
7976bab
working on #29: fix crash in jison when reporting an error on an epsi…
GerHobbelt Nov 9, 2017
91fe96c
examples: replaced the `codegen-feature-tester` make task with `make …
GerHobbelt Nov 10, 2017
42b3577
jison-lex: lexer kernel: added `deriveLocationInfo()` API which may b…
GerHobbelt Nov 10, 2017
7c54a72
updated NPM packages and rebuilt library files.
GerHobbelt Nov 10, 2017
93dc1eb
fix: remove remaining `yylineno` statement(s) when that one is not us…
GerHobbelt Nov 11, 2017
4694c5c
regenerated library files
GerHobbelt Nov 11, 2017
2da1887
Merge branch 'master' into debuggable
GerHobbelt Nov 11, 2017
63bb8cf
accept `%option` as an alias for `%options`; ditto for `%parse-param`…
GerHobbelt Nov 11, 2017
0b712cd
fixing the lexer `canIUse()` API method and use it (and the new `lexe…
GerHobbelt Nov 12, 2017
8758ceb
regenerated library files
GerHobbelt Nov 12, 2017
dbbce60
adding and updating test cases for "lexer ES6 arrow functions in acti…
GerHobbelt Dec 13, 2017
23ee824
while working on https://github.com/zaach/jison-lex/issues/23: add su…
GerHobbelt Dec 13, 2017
68420ac
fix: https://github.com/zaach/jison-lex/issues/23 -- added basic supp…
GerHobbelt Dec 13, 2017
5cb5cd4
regenerated library files (https://github.com/zaach/jison-lex/issues/23)
GerHobbelt Dec 13, 2017
2c2f82c
adding JISON test cases as provided by https://github.com/zaach/jison…
GerHobbelt Dec 13, 2017
043a8b5
https://github.com/zaach/jison-lex/issues/23: facilitate loading Java…
GerHobbelt Dec 13, 2017
154c6a9
updated npm packages, bumped build revision and regenerated library f…
GerHobbelt Dec 13, 2017
57b2b47
update the install instructions, also referencing the monorepo/bundle…
GerHobbelt Dec 13, 2017
9e49e07
bumped build revision and rebuilt library files
GerHobbelt Dec 13, 2017
895797a
quick fix for TravisCI failing for node 4 & 5: SyntaxError: Block-sco…
GerHobbelt Dec 19, 2017
ff6b463
bumped build revision and rebuilt library files
GerHobbelt Dec 19, 2017
a05615b
risk-averse coding of the parser kernel: check for `!action` rather t…
GerHobbelt Dec 19, 2017
5215db9
properly strip the `var yylineno;` line from the parser kernel when d…
GerHobbelt Dec 19, 2017
828b6ee
move the deletion of package-lock.json and node_modules/ from the `cl…
GerHobbelt Dec 19, 2017
f663efd
regenerated library files
GerHobbelt Dec 19, 2017
4cd7f81
regenerated library files
GerHobbelt Dec 19, 2017
90210bd
Merge remote-tracking branch 'remotes/origin/master'
GerHobbelt Dec 19, 2017
348f83c
Merge branch 'master' into debuggable
GerHobbelt Dec 19, 2017
bac9a93
create working example for https://github.com/zaach/jison/issues/362 …
GerHobbelt Dec 20, 2017
3a2f68b
fix https://github.com/GerHobbelt/jison/issues/31: do not just use ca…
GerHobbelt Dec 20, 2017
d25c970
fix `camelCase` helpers API: do not convert 'a-2' to 'a2': numbers, w…
GerHobbelt Dec 20, 2017
46b8905
regenerated library files
GerHobbelt Dec 20, 2017
c298e6d
augmented test cases for `camelCase` and `mkIdentifier` helpers lib A…
GerHobbelt Dec 20, 2017
f27e17a
updated test output reference files
GerHobbelt Dec 20, 2017
4742b2b
bumped build revision and regenerated library files
GerHobbelt Dec 20, 2017
92702b6
bumped build revision and rebuilt library files
GerHobbelt Dec 20, 2017
726ed54
fix: don't let the parser analysis flag `parseActionsUseYYMERGELOCATI…
GerHobbelt Dec 20, 2017
f03efdf
parser kernel: when `parseError()` produces a return value (i.e. retu…
GerHobbelt Dec 20, 2017
0fd385d
working on examples set to test code generator feature filters
GerHobbelt Dec 21, 2017
0ca8a12
examples/fsyacc-cgrammar.jison: shut up jison about different precede…
GerHobbelt Dec 22, 2017
4b948fd
working on making jison tests run under istanbul/nyc coverage analysi…
GerHobbelt Dec 22, 2017
36c229d
- yydebug(): shorten yylloc object dumps
GerHobbelt Dec 22, 2017
42f3c20
the example GNUCobol grammars that go with the discussion at https://…
GerHobbelt Dec 22, 2017
06889a6
further work on making jison (and its tests) fit for coverage analysi…
GerHobbelt Dec 22, 2017
b341b8f
https://github.com/GerHobbelt/jison/issues/32 : first positive covera…
GerHobbelt Dec 22, 2017
49b1aad
https://github.com/GerHobbelt/jison/issues/32 : work done on the jiso…
GerHobbelt Dec 22, 2017
a0d2a7a
add cross-env as a dev package
GerHobbelt Dec 22, 2017
4c495ff
update the internal parser generator's optimization/refactoring hash …
GerHobbelt Dec 22, 2017
a91ffdf
do not include option `testCompileActionCode` in the generated parser…
GerHobbelt Dec 22, 2017
efd2aac
coveralls b0rks: removed the tool and make targets. Anyway, `istanbul…
GerHobbelt Dec 22, 2017
16d286a
clean up lingering (and now obstructing!) `assert` library reference …
GerHobbelt Dec 22, 2017
ef3a6f2
fix another b0rk in the `make test-nyc` code coverage run: one more u…
GerHobbelt Dec 22, 2017
9e302df
another benefit of coverage analysis: turning ON another couple of un…
GerHobbelt Dec 22, 2017
792d0dd
https://github.com/GerHobbelt/jison/issues/32: we also must stringify…
GerHobbelt Dec 23, 2017
6f9a8b6
move stringified code chunks outside jison, like we already did for t…
GerHobbelt Dec 23, 2017
ac5ae87
further work on moving the stringified code chunks which MAY/WILL be …
GerHobbelt Dec 23, 2017
8ca92ef
when you specify the environment variable FULL_CODE_COVERAGE=1, the s…
GerHobbelt Dec 23, 2017
9e40307
clean up backquotes in the master code chunks' files (used by __patch…
GerHobbelt Dec 23, 2017
2108456
preliminary CHANGELOG.md file produced using npm package `@gerhobbelt…
GerHobbelt Dec 23, 2017
ecaec7c
add `make report-nyc` task as we observed that most examples (with co…
GerHobbelt Dec 23, 2017
c53fce7
regenerated library files
GerHobbelt Dec 23, 2017
1c8c89d
BNF parser: produce stricter action code for arrow action in any jiso…
GerHobbelt Dec 25, 2017
736d3db
helpers-lib: augment the `function printFunctionSourceCodeContainer(f…
GerHobbelt Dec 25, 2017
9c6ff4f
given https://github.com/gotwarlost/istanbul/issues/856 add run-time …
GerHobbelt Dec 25, 2017
aad81e9
regenerate library files for helpers lib
GerHobbelt Dec 25, 2017
b34f990
further work on https://github.com/zaach/jison/issues/363 fixing the …
GerHobbelt Dec 25, 2017
a5bb4a5
- final work on https://github.com/GerHobbelt/jison/issues/32: all te…
GerHobbelt Dec 25, 2017
a9a4a31
regenerated library files
GerHobbelt Dec 25, 2017
e115c2b
bumped build revision and regenerated library files
GerHobbelt Dec 25, 2017
920dd6a
updated CHANGELOG.
GerHobbelt Dec 25, 2017
13aa054
Merge branch 'master' into debuggable
GerHobbelt Dec 25, 2017
33f0dde
fix https://github.com/GerHobbelt/jison/issues/28: restrict both lead…
GerHobbelt Dec 25, 2017
6c45807
fix `make comparison`: add `*.md` as a pattern to ignore so diff will…
GerHobbelt Dec 25, 2017
75d206b
fix `make comparison` build task: only clean the examples' output via…
GerHobbelt Dec 25, 2017
9352391
regenerated library files for fix https://github.com/GerHobbelt/jison…
GerHobbelt Dec 26, 2017
252d81c
regenerated json5 test reference files (following a JSON5 library upd…
GerHobbelt Dec 26, 2017
0db74db
updated npm packages (json5 et al)
GerHobbelt Dec 26, 2017
ef82412
fix: https://github.com/GerHobbelt/jison/issues/8 ; add examples/test…
GerHobbelt Jan 1, 2018
821c08b
fix https://github.com/GerHobbelt/jison/issues/8 and add help to the …
GerHobbelt Jan 1, 2018
16a13df
updated npm packages
GerHobbelt Jan 1, 2018
924348b
preliminary work to at least lookbehind regex particles, despite the …
GerHobbelt Jan 1, 2018
163836d
tests related to https://github.com/GerHobbelt/jison/issues/35
GerHobbelt Jan 1, 2018
a57681a
rebuilt library files
GerHobbelt Jan 1, 2018
7928ca9
Include missing MIT license file
kylef Apr 23, 2018
bf5359b
Modified to accept a -n parameter to set the module name used in gene…
TexasNeo Apr 27, 2018
a0a80c5
grammar spec errors should preferrably *always* be accompanied with a…
GerHobbelt May 5, 2018
f8c5849
helpers lib: slightly adjust the mkIdentifier API to produce better c…
GerHobbelt May 5, 2018
a0a5361
helpers lib: move more generic functions from inside other Jison comp…
GerHobbelt May 5, 2018
a2a62bc
clean up a the `%include` statements in a few example lexer spec files.
GerHobbelt May 5, 2018
015817e
minor tweaks and tugs
GerHobbelt May 6, 2018
74d5790
bumped build revision as we continue working on cleaning up the lexer…
GerHobbelt May 6, 2018
74a7daf
first stage of the big work: lexer has been cleaned up: far fewer lex…
GerHobbelt May 6, 2018
05fff3e
small update to the lexer kernel: extracted a common CRLF regex out i…
GerHobbelt May 6, 2018
050676e
added and updated tests & examples; `%include` statement now always e…
GerHobbelt May 6, 2018
544aa89
correct the helpers library API for the new way the lexer produces op…
GerHobbelt May 6, 2018
710dc5f
SHA-1: 05fff3e1fffc8b4d95024638ed540b27bf44e619 + augmented lexer tes…
GerHobbelt May 6, 2018
b8a9599
EBNF/BNF grammar parser lexer spec: synced with the lexer spec for th…
GerHobbelt May 6, 2018
1501164
checking in at least some of the more-or-less reliable regenerated li…
GerHobbelt May 6, 2018
bdd46d4
Merge remote-tracking branch 'remotes/kylef-archive/kylef/license'
GerHobbelt May 6, 2018
9bb9f97
fix https://github.com/GerHobbelt/jison/issues/36
GerHobbelt May 6, 2018
86e8672
fix grammar
morenoh149 May 17, 2018
9c90de8
updated code using latest JSON5 features in the lexer test rig
GerHobbelt May 23, 2018
bab4fdd
- use updated XRegExp library with `isNative` fixes to generate code …
GerHobbelt May 23, 2018
aec9d79
- updated npm libraries, in particular XRegExp and JSON5 as those car…
GerHobbelt May 23, 2018
0852c90
lock in last known working jison dist files + buggy source files for …
GerHobbelt May 23, 2018
3695e1f
lexer kernel: added `lookAhead()` API - which is used in our new lexe…
GerHobbelt May 23, 2018
14d257b
more work done on the lexer grammar. In particular, quite a bit of te…
GerHobbelt May 23, 2018
b2d959c
updated unit tests for the lexer as we now trim trailing semicolons a…
GerHobbelt May 23, 2018
0fe4c7f
updated lexer to make the JSON-autodetect error reporting less confus…
GerHobbelt May 23, 2018
2b0ecf4
lexer tests: strip off developer-specific paths from error stack dump…
GerHobbelt May 23, 2018
e7bc8fb
regenerated library files; picked the approved ones while we continue…
GerHobbelt May 23, 2018
b4e1855
documentation generator copies these test examples to the doc directo…
GerHobbelt May 23, 2018
589347e
updated lexer test **Sollwert** files to latest state of affairs.
GerHobbelt May 23, 2018
3126940
EBNF parser: synced lexer spec with the lex-jison one (they copy heav…
GerHobbelt May 23, 2018
93261f9
update lexer Sollwert file
GerHobbelt May 23, 2018
709c352
- WARNING: lexer.unput() also unputs=rewinds the `match`, `matches`, …
GerHobbelt May 24, 2018
4f7b9b1
regenerated library files
GerHobbelt May 24, 2018
c41cb8b
fix tests' Sollwerte
GerHobbelt May 24, 2018
0284173
adding more lexer tests: these are there to check how our new multipl…
GerHobbelt May 25, 2018
45a8390
added npm package `mkdirp` which is used in the test rigs (lexer now,…
GerHobbelt May 25, 2018
5d2ff01
typo fix
GerHobbelt May 25, 2018
a39fbc6
add the lexer examples to the test rig and have them treated the same…
GerHobbelt May 25, 2018
7f6a35b
lexer examples & test specs: moved include files to a subdirectory: `…
GerHobbelt May 25, 2018
7524038
mirrored the JSON-vs-JISON input autodetect error reporting heuristic…
GerHobbelt May 25, 2018
e92e3f7
use JISON.print() where applicable.
GerHobbelt May 25, 2018
7747fca
adjusted the two new lexer test cases for the new directory layout an…
GerHobbelt May 25, 2018
7ea5c82
also provide the include assets for the new tests.
GerHobbelt May 25, 2018
bc876c6
speed up the lexer test rig when one of the specs or examples fails: …
GerHobbelt May 25, 2018
175d898
snapshot of work done thus far on lexer + ebnf parser: non-working. u…
GerHobbelt May 26, 2018
aa8f425
lexer kernel: setInput() API now processes the `input` like the editR…
GerHobbelt May 27, 2018
3fbf854
jison lexing: lexer rules' action code now gets gobbled up a little m…
GerHobbelt May 27, 2018
171a531
whitespace police raid
GerHobbelt May 27, 2018
81ab9a6
EBNF parser: first stage of migrating to a simplified EBNF/BNF proces…
GerHobbelt May 27, 2018
7b72c0e
fixed bugs in the new lexer code and unit test rig. As a results, spe…
GerHobbelt May 27, 2018
c0743ce
updated sollwert=reference files for the lexer unit tests
GerHobbelt May 27, 2018
f3cc8d7
refactor unit tests: lexer test specs loaded dynamically -- same as w…
GerHobbelt Jun 1, 2018
953574d
refactor unit tests: parser test specs loaded dynamically -- same as …
GerHobbelt Jun 1, 2018
30c4200
refactoring unit tests: move tests into one file per test in /tests/s…
GerHobbelt Jun 1, 2018
af46c4b
fix ebnf grammar parser + lexer to correctly handle action code block…
GerHobbelt Jun 1, 2018
c04055c
regenerated library files
GerHobbelt Jun 1, 2018
9602352
fix typo bug in enbf/bnf grammar spec
GerHobbelt Jun 2, 2018
ba20464
- lexer kernel: fixed bug in `cleanupAfterParse()` / `destroy()` meth…
GerHobbelt Jun 6, 2018
345422d
for examples for `strict mode` code execution: octal numbers are ille…
GerHobbelt Jun 6, 2018
1ab561e
ebnf-parser: refactored the unit tests: these now reside in a test in…
GerHobbelt Jun 6, 2018
854e649
whitespace police raid
GerHobbelt Jun 6, 2018
258a9db
added helper API, which is now used in the test rigs: trimErrorForTes…
GerHobbelt Jun 6, 2018
09bf2d1
update the changed test references due to `trimErrorForTestReporting`…
GerHobbelt Jun 6, 2018
5672a19
add another test/example grammar which fails in vanilla jison. Copied…
GerHobbelt Jun 15, 2018
316bec0
Generate valid "strict mode" javascript
mathiasrw Jun 24, 2018
38d9b0c
added a few badges for fun
GerHobbelt Aug 26, 2018
fd2fc71
updated npm+babel packages
GerHobbelt Aug 26, 2018
75485e4
fiddling with the docs
GerHobbelt Aug 26, 2018
e9e853e
bug fix and sync the tool scripts which are used to embed the lexer a…
GerHobbelt Aug 26, 2018
c53ed71
ignore crap in the dev directories that should never end up in git or…
GerHobbelt Aug 26, 2018
6ec203d
committing pending work temporarily in Mother Of All Commits:
GerHobbelt Aug 26, 2018
5c0f6fa
tweak gitignore to hide additional quick-test-crap
GerHobbelt Aug 26, 2018
9019a5b
**MARK** - TODO: split this commit up into discernible chunks. Right …
GerHobbelt Aug 26, 2018
4a91e47
updated npm dependencies
GerHobbelt Aug 26, 2018
b1cc84d
updated npm packages
GerHobbelt Aug 26, 2018
396c741
Merge commit '16a13dfcf4ea7df42b9df20f0497d9dac09f3d39' into point-6-…
GerHobbelt Aug 26, 2018
0c9b6e6
SHA-1: 5c0f6fa990a91314c2f77c4636dde25dcd5c1e45
GerHobbelt Aug 26, 2018
ec8c84c
Merge commit '74d579033700ec06fc9e7aaa354cdba59b133a04' into point-6-…
GerHobbelt Aug 26, 2018
2a03ef5
fix https://github.com/GerHobbelt/jison/issues/36
GerHobbelt May 6, 2018
2e12adc
- updated npm libraries, in particular XRegExp and JSON5 as those car…
GerHobbelt May 23, 2018
f847abf
Merge remote-tracking branch 'remotes/kylef-archive/kylef/license' in…
GerHobbelt Aug 26, 2018
ea1507f
extend npmignore to prevent adding dev stuff to npm package distro
GerHobbelt Aug 26, 2018
7d8e030
lexer kernel: added `lookAhead()` API - which is used in our new lexe…
GerHobbelt May 23, 2018
8861874
updated lexer to make the JSON-autodetect error reporting less confus…
GerHobbelt May 23, 2018
e530085
lexer tests: strip off developer-specific paths from error stack dump…
GerHobbelt May 23, 2018
b6d0534
documentation generator copies these test examples to the doc directo…
GerHobbelt May 23, 2018
801f4ff
typo fix
GerHobbelt May 25, 2018
bed6de1
updated npm packages and regenerated library files - build process FA…
GerHobbelt Sep 2, 2018
3d37721
update npmignore to close #43
balupton Jan 19, 2019
bd3ae33
Update .npmignore
balupton Jan 19, 2019
3491745
updated npm packages
GerHobbelt Jan 27, 2019
02a4491
regenerated library files
GerHobbelt Jan 27, 2019
cb64fff
Merge remote-tracking branch 'remotes/balupton/patch-1' into point-6-…
GerHobbelt Jan 27, 2019
77b3a99
Merge remote-tracking branch 'remotes/mathiasrw/patch-1' into point-6…
GerHobbelt Jan 27, 2019
34891e9
Merge remote-tracking branch 'remotes/sonicdoe/patch-1' into point-6-…
GerHobbelt Jan 27, 2019
144bbc4
Merge remote-tracking branch 'remotes/morenoh149/patch-1' into point-…
GerHobbelt Jan 27, 2019
0abba83
Merge remote-tracking branch 'remotes/TexasNeo/master' into point-6-1…
GerHobbelt Jan 27, 2019
9b25f24
- fix issue #43: large sets of unnecessary files were included in the…
GerHobbelt Apr 14, 2019
0a2ed20
bumped build revision and rebuilt a few library files (untested! just…
GerHobbelt Apr 14, 2019
3e18060
updated npm packages
GerHobbelt Jun 4, 2019
2621842
picking up doc language fixes from dev branch
GerHobbelt Jun 4, 2019
a09f1b8
updated npm dependencies
GerHobbelt Aug 26, 2018
42e2052
Merge branch 'point-6-1-maintenance' into dev6
GerHobbelt Jun 4, 2019
2be9ca8
Merge branch 'dev6'
GerHobbelt Jun 4, 2019
0217efa
specify option interactions, describe module types
Jul 15, 2019
26f84ca
Merge remote-tracking branch 'remotes/ericprud/patch-1'
GerHobbelt Jul 28, 2019
a44c321
Merge branch 'master' into debuggable
GerHobbelt Jul 28, 2019
dc36978
Merge remote-tracking branch 'GabrielRatener/master' into fork/jison-es
davidgovea Aug 21, 2019
abd99a9
rename to jison-es
davidgovea Aug 21, 2019
3022307
set 'es' to default type in cli, and update readme
davidgovea Aug 21, 2019
491172a
Merge pull request #1 from runtrizapps/fork/jison-es
davidgovea Aug 21, 2019
5766d05
add GabrielRatener to contributors
davidgovea Aug 21, 2019
d8153dc
added example/test code for issue https://github.com/zaach/jison/issu…
GerHobbelt Sep 25, 2019
934bcc0
remove dependency on fresh `build` for all test targets as it hampers…
GerHobbelt Sep 26, 2019
332eafe
ignore `examples/output` directories everywhere
GerHobbelt Sep 26, 2019
1c75e08
updated npm packages: the added #babel/core and @babel/preset-env dev…
GerHobbelt Nov 16, 2019
7749078
fix coding typo which caused a (re)build crash
GerHobbelt Nov 16, 2019
a7aad2c
add initial example jison file from StackOverflow question https://st…
GerHobbelt Nov 16, 2019
42f1436
added regression test: recast-0.15.1-32 is boogered and MUST NOT be u…
GerHobbelt Nov 16, 2019
2787ff7
prevent timeout error in latest mocha
GerHobbelt Nov 16, 2019
d0816c2
fix coding typo which caused a (re)build crash
GerHobbelt Nov 16, 2019
4c8ac08
added StackOverflow question grammars.
GerHobbelt Nov 17, 2019
580427a
only supporting node versions 8 and above from now on. Anything older…
GerHobbelt Nov 17, 2019
6c54adb
remove test comment from example
GerHobbelt Nov 17, 2019
fa23ebc
fix copy/pasta API reference which broke any build
GerHobbelt Nov 17, 2019
2ff99ea
fix in parser kernel: `parser.yy.parseError = ...` userland code woul…
GerHobbelt Nov 17, 2019
b046d9c
couple of "use strict" additions plus incorporated the jison parser k…
GerHobbelt Nov 17, 2019
ac75af4
unifying the rollup configurations, using a single template reference.
GerHobbelt Nov 17, 2019
07bbdfb
couple of "use strict" applications plus lexer kernel update to provi…
GerHobbelt Nov 17, 2019
0608e9e
add couple more test files; one for jison (parser), one for the jison…
GerHobbelt Nov 17, 2019
0e0a2a4
fix test reference/sollwert: this is how the *new* BNF parse tree looks!
GerHobbelt Nov 17, 2019
6ff5ffe
Merge branch 'point-6-1-maintenance'
GerHobbelt Nov 17, 2019
f96cf98
Merge branch 'debuggable'
GerHobbelt Nov 17, 2019
a8d67dc
Merge remote-tracking branch 'remotes/runtrizapps/master'
GerHobbelt Nov 17, 2019
8005635
added test for XRegExp usage
GerHobbelt Nov 18, 2019
d7a8b55
last bit of work before revert/discard of @gerhobbelt/babel et al: we…
GerHobbelt Nov 19, 2019
07c9f90
hard revert to base recast and babel. Let's see how far we can get th…
GerHobbelt Nov 19, 2019
b947363
Merge pull request #354 from anirvan/patch-1
zaach Oct 27, 2020
b347662
bump version
GerHobbelt Nov 7, 2020
2430807
Commit JISON special identifiers replacement logic, which employs Uni…
GerHobbelt Nov 7, 2020
1dc2d1b
updated npm packages
GerHobbelt Nov 7, 2020
9d7459b
Merge remote-tracking branch 'remotes/zaach-original/master'
GerHobbelt Nov 7, 2020
a3cc10b
Merge remote-tracking branch 'remotes/zaach-original/gh-pages' into g…
GerHobbelt Nov 7, 2020
d3fd3a8
sync build revision
GerHobbelt Nov 7, 2020
625fcce
further work on the Unicode mapping of Jison special Identifier chara…
GerHobbelt Nov 7, 2020
e12e57d
fixed bug in regex for Unicode mapper `decodeJisonTokens()` method.
GerHobbelt Nov 7, 2020
be19e1a
fix bugs in the Unicode mapper and augment tests for it.
GerHobbelt Nov 7, 2020
1b2c5a1
fix the basic tests which employ the Unicode mapper: those functions …
GerHobbelt Nov 7, 2020
e8a07c9
regenerated helpers library files
GerHobbelt Nov 7, 2020
bd10539
hacky: make jison work with the new unicode id mapper.
GerHobbelt Nov 7, 2020
c913ae8
`parser/github-issues-nr-XX-gho.ejs(input)` API method does NOT have …
GerHobbelt Nov 7, 2020
396e925
test examples added for issues 51 and 58
GerHobbelt Nov 7, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 15 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"ignore": [
"node_modules/**/*.js"
],
"compact": false,
"retainLines": false,
"presets": [
["@babel/preset-env", {
"targets": {
"browsers": ["last 2 versions"],
"node": "8.0"
}
}]
]
}
11 changes: 11 additions & 0 deletions .bookignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# GitBook ignores, on top of .gitignore
#

node_modules/
vagrant/
tmp/

modules/

examples/output/
examples/output*/
32 changes: 32 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
*.bat text eol=crlf
*.css text eol=lf
*.ejs text eol=lf
*.html text eol=lf
*.inc text eol=lf
*.ini text eol=lf
*.jison text eol=lf
*.jisonlex text eol=lf
*.js text eol=lf
*.json text eol=lf
*.json5 text eol=lf
*.l text eol=lf
*.less text eol=lf
*.lex text eol=lf
*.markdown text eol=lf
*.md text eol=lf
*.php text eol=lf
*.sass text eol=lf
*.sed text eol=lf
*.sh text eol=lf
*.src text eol=lf
*.txt text eol=lf
*.xml text eol=lf
*.y text eol=lf
*.yacc text eol=lf
*.yaml text eol=lf
*.yml text eol=lf

*.pdf binary
*.psd binary
*.pptx binary
*.xlsx binary
81 changes: 79 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,84 @@
.DS_Store
## WARNING ## WARNING ## WARNING ## WARNING ## WARNING
##
## Looks like npm (and git?) has a bug on Windows where the fnmatch pattern with trailing slash, e.g. `output/`
## doesn't work for subdirectories, while the same pattern *without* the trailing slash *does* work for
## filtering directories (behaviour like `**/tmp/` but git and npm supports a different set of glob patterns)
##
## Commandline to observe this behaviour (on Windows dev box):
##
## npm pack && tar ftv *.tgz | grep tests
##
## Edit the ignore file to edit the `tests` line further below with or without trailing `/` to observe the
## buggy behaviour.
##
## WARNING ## WARNING ## WARNING ## WARNING ## WARNING

## Dependency directory
## Commenting this out is preferred by some people, see
## https://docs.npmjs.com/misc/faq#should-i-check-my-node_modules-folder-into-git
node_modules

## Google Closure Compiler install directory
gcc/

## Book build output
#_book

## eBook build output
#*.epub
#*.mobi
#*.pdf

# Apple Crap
.DS_Store

# more npm dung
npm-debug.log
*.tgz

# Editor backup files
*.bak
*~
web/content/assets/js/jison.js
*.xxx

# Generated web content directories (nanoc output)
web/tmp
web/crash.log

# ignore the compiler output for any examples:
examples/output
docs/examples/reference-output
packages/**/examples/output
docs/**/examples/output

# Vagrant sandbox
vagrant
Vagrantfile

# scratch space
#tmp/
#---^ see WARNING at the top of this file!
tmp
tmp2
/book-using-jison-beyond-the-basics/base-materials
*.log
*.patch

# istanbul / nyc code coverage analysis workspaces
.nyc_output
# ignore all coverage report directories anywhere
coverage

# additional crap thast shouldn't land in git repo or npm:
tmp*
/test*.*
/issue*.*
/dump*
/*bug*
/examples/formula-v*
/docs/examples/formula-v*
profile*.txt
/include.lex



56 changes: 56 additions & 0 deletions .jscs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"disallowKeywords": ["with"],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowNewlineBeforeBlockStatements": true,
"disallowPaddingNewlinesInBlocks": true,
"disallowMultipleVarDecl": "exceptUndefined",
"disallowSpacesInNamedFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInCallExpression": true,
"disallowQuotedKeysInObjects": true,
"disallowSpaceAfterObjectKeys": true,
"disallowSpaceBeforeComma": true,
"requireBlocksOnNewline": 1,
"requireCommaBeforeLineBreak": true,
"requireSpaceBeforeBlockStatements": true,
"requireSpaceBeforeObjectValues": true,
"requireSpaceBetweenArguments": true,
"requireSpaceAfterComma": true,
"requireSpaceAfterLineComment": true,
"requirePaddingNewLinesInObjects": true,
"requireLineFeedAtFileEnd": true,
"requireLineBreakAfterVariableAssignment": true,
"requireSemicolons": true,
"validateParameterSeparator": ", ",
"requireSpaceAfterBinaryOperators": [",", "+", "-", "/", "%", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "case", "return", "try", "catch", "function", "typeof", "with"],
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "%", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireSpaceBeforeKeywords": [
"else",
"while",
"catch"
],
"requireSpacesInForStatement": true,
"requireSpacesInAnonymousFunctionExpression": {
"beforeOpeningRoundBrace": true,
"beforeOpeningCurlyBrace": true
},
"requireSpacesInFunctionDeclaration": {
"beforeOpeningCurlyBrace": true
},
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"requireSpacesInConditionalExpression": {
"afterTest": true,
"beforeConsequent": true,
"afterConsequent": true,
"beforeAlternate": true
},
"validateLineBreaks": "LF",
"validateQuoteMarks": {
"escape": true
}
}
56 changes: 56 additions & 0 deletions .jscsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"disallowKeywords": ["with"],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowNewlineBeforeBlockStatements": true,
"disallowPaddingNewlinesInBlocks": true,
"disallowMultipleVarDecl": "exceptUndefined",
"disallowSpacesInNamedFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInCallExpression": true,
"disallowQuotedKeysInObjects": true,
"disallowSpaceAfterObjectKeys": true,
"disallowSpaceBeforeComma": true,
"requireBlocksOnNewline": 1,
"requireCommaBeforeLineBreak": true,
"requireSpaceBeforeBlockStatements": true,
"requireSpaceBeforeObjectValues": true,
"requireSpaceBetweenArguments": true,
"requireSpaceAfterComma": true,
"requireSpaceAfterLineComment": true,
"requirePaddingNewLinesInObjects": true,
"requireLineFeedAtFileEnd": true,
"requireLineBreakAfterVariableAssignment": true,
"requireSemicolons": true,
"validateParameterSeparator": ", ",
"requireSpaceAfterBinaryOperators": [",", "+", "-", "/", "%", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "case", "return", "try", "catch", "function", "typeof", "with"],
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "%", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireSpaceBeforeKeywords": [
"else",
"while",
"catch"
],
"requireSpacesInForStatement": true,
"requireSpacesInAnonymousFunctionExpression": {
"beforeOpeningRoundBrace": true,
"beforeOpeningCurlyBrace": true
},
"requireSpacesInFunctionDeclaration": {
"beforeOpeningCurlyBrace": true
},
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"requireSpacesInConditionalExpression": {
"afterTest": true,
"beforeConsequent": true,
"afterConsequent": true,
"beforeAlternate": true
},
"validateLineBreaks": "LF",
"validateQuoteMarks": {
"escape": true
}
}
15 changes: 15 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"asi" : false,
"lastsemic": false,
"boss" : false,
"browser" : true,
"curly" : false,
"debug" : true,
"devel" : true,
"eqeqeq" : false,
"eqnull" : true,
"expr" : true,
"laxbreak" : true,
"quotmark" : "single",
"validthis": true
}
Loading