-
Notifications
You must be signed in to change notification settings - Fork 5
remove get & set arrows #32
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
remove get & set arrows #32
Conversation
I have not written a ton of getters & setters, but IMHO I'd prefer to read those keywords first before the function. What is the reasoning for |
@tomByrer hey, welcome to LightScript! come hang out in the gitter sometime 🙂 https://gitter.im/lightscript/Lobby The original reasoning was, "gee how cool if all function modifiers were confined to a single glyph! This obviously turned out not to be a good idea and it's been slated for removal for a little while, just never got around to it. Thanks @citycide for making it happen! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One error message change (which may not be necessary, otherwise looks great, thanks so much!
@@ -0,0 +1,3 @@ | |||
class X { | |||
async method() -> await a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably now be:
get method() -/> await a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
....which of course should not throw Can't use async with lightscript arrows. (2:2)
anymore, but should throw something. Chrome doesn't parse async get foo() {}
or get async foo() {}
.
Maybe Getters cannot be async
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be doable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually the reason I made this a non-getter test is, like the fat arrow getter comment, you also can't do it in JS and so it seemed obvious. And there's a class-malformed-async-fat-arrow
but no skinny until now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we still need to test that it throws though (this is checking correct behavior of the parser, not documenting the language)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, I'm adding a new, separate test for that so we'll keep this one. Also to specify - a getter can return a Promise, it just can't be an actual async
function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Womp, sorry, should have seen this before – we should remove (or at least rename) this test since it no longer tests what it says it does
@@ -1,3 +0,0 @@ | |||
class X { | |||
method() =get> 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should have a test for get method() => 1
if it doesn't exist somewhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... which I think should be an error ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rattrayalex a failure case right? I kind of just dropped it because in JS you can't do a fat arrow getter in a class, so it seemed obvious
edit: you ninja'd
@tomByrer seconding the gitter motion, since I don't use it for really anything but the lightscript room ( which I check all the time ) |
* remove get & set arrows * update tests for getters & setters * add error for non-skinny arrow getter / setter
commit 65d3524 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 15:26:02 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.4 commit 8b1634e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 21:36:16 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.3 commit ffcf461 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 21:00:50 2017 -0400 More detailed error message in ambiguous cases. commit 210de1f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 20:33:26 2017 -0400 `noLabeledExpressionStatements` plugin added commit 6ff25b9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 20:04:53 2017 -0400 Revert `?.(` syntax due to JS stage 1 proposal uncertainty commit 249aee6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 22:09:43 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.2 commit eea37ea Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 21:42:18 2017 -0400 New WBP fixes commit d4184a6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 21:39:47 2017 -0400 `whiteblockPreferred` updates commit 5e45d5e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 18:13:56 2017 -0400 Lightscript OBA fixup commit 1aded08 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 17:39:12 2017 -0400 Whiteblock-preferred, step 1 commit 0e97a7b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 18:16:47 2017 -0400 Whiteblock-preferred mode commit 5e45d5e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 18:13:56 2017 -0400 Lightscript OBA fixup commit 1aded08 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 17:39:12 2017 -0400 Whiteblock-preferred, step 1 commit 0a87973 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:27:27 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.1 commit f6b5fb7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:11:25 2017 -0400 Splat comprehensions commit 93088f6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 17:07:19 2017 -0400 Splat comprehension parsing commit 76e14e8 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 22:17:23 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.0 commit bcd22fe Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 21:28:09 2017 -0400 `whiteblockOnly` mode commit 160ee23 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 20:59:11 2017 -0400 Parse `{` as expressionStatement when whiteblockOnly enabled commit afd89a2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 20:36:21 2017 -0400 Initial whiteblockOnly impl, test fixes commit 5aa3ee5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 15:44:02 2017 -0400 Merge 2.3 fixes commit 15799aa Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 16:01:25 2017 -0400 @oigroup/babylon-lightscript@2.3.1 commit e816aa7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 15:54:40 2017 -0400 @oigroup/babylon-lightscript@2.3.0 commit 2376b75 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 15:41:14 2017 -0400 2.3.0 - Syntactic placeholders - Pipe calls `|>`, `<|` - Track block nesting level in parser state - Fix bang call subscript unwinding crossing block boundaries - Fix premature “comprehensions are illegal” error disallowing patterns with “for” or “case” keys - Don’t lint when testing commit 64f066f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 15:36:41 2017 -0400 Fix for bang call subscripting issue across block boundaries commit bda54e5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 14:38:44 2017 -0400 Comprehension fixes commit 476419a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 15:53:55 2017 -0400 Run lint and flow at `preversion`, not `test` commit 266f948 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 18 23:16:07 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.3 commit 2342c39 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 16:51:01 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.2 commit 21a26a8 Merge: e61679c 7c5e20e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 15:24:38 2017 -0400 Merge branch 'prerelease/2.3.0' of https://github.com/wcjohnson/babylon-lightscript into prerelease/2.3.0 commit e61679c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 15:24:20 2017 -0400 Unit test for unfortunate flow typecast in if test clause commit 7c5e20e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Aug 6 12:58:46 2017 -0400 Misc cleanup - Remove errant copypasta from tildeCall.js - Clean up spacing/comments commit ffb7ddb Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:43:42 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.1 commit fb570ee Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:28:23 2017 -0400 Pipe call improvements - Support arrows as pipe call operands - Support leftward-pointing pipe calls commit f248451 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 16:09:12 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.0 commit 00a76ef Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 15:52:31 2017 -0400 Fix for left-associativity and subscripts of pipeCalls commit 6d4d300 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:43:08 2017 -0400 `pipeCall` tests commit 4e579c7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:28:40 2017 -0400 @oigroup/babylon-lightscript@2.3.0-2 commit 17f5a44 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:19:22 2017 -0400 @oigroup/babylon-lightscript@2.3.0-1 commit 0bcd865 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:07:36 2017 -0400 @oigroup/babylon-lightscript@2.3.0-0 commit 6975053 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:03:53 2017 -0400 Parsing for pipe operator commit b10a5e48d1552ff389de314762e863197bc0da7e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 22:55:34 2017 -0400 Fix associativity commit 0fac7c226b9cd9cda94a5956a45a067a145e2976 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 22:22:34 2017 -0400 Parse pipe operator as subscript commit b21acb2f12941d9d7d4279320de4c55c7ee3b50f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 21:17:17 2017 -0400 Basic pipeCall parsing commit 70ee2c8 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:46:52 2017 -0400 Syntactic placeholders commit d5d4e74 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:41:48 2017 -0400 Allow placeholder to be changed via config commit 32e43a0 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:24:59 2017 -0400 Spread placeholder tests commit 73b9d32 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 15:31:50 2017 -0400 Initial implementation of syntactic placeholders commit 833e5b9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Aug 6 12:58:46 2017 -0400 Misc cleanup - Remove errant copypasta from tildeCall.js - Clean up spacing/comments commit eaa42cd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 14:38:44 2017 -0400 Comprehension fixes commit 97109a6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 01:55:17 2017 -0400 Fix for bang-tilde-call parsing commit 33e044c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 01:30:12 2017 -0400 Tilde calls now generate `CallExpression` nodes with `tilde: true` commit 926a863 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 15:55:42 2017 -0400 Converge with Babel re optional chaining - Eliminate `SafeMemberExpression` node type; use `MemberExpression` with `optional = true` instead. - Use `optional = true` for safe `CallExpression`s - Allow proposed `x?.(arg, arg…)` syntax for safe calls commit 99f8c0b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 15:53:55 2017 -0400 Run lint and flow at `preversion`, not `test` commit 266f948 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 18 23:16:07 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.3 commit 2342c39 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 16:51:01 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.2 commit 21a26a8 Merge: e61679c 7c5e20e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 15:24:38 2017 -0400 Merge branch 'prerelease/2.3.0' of https://github.com/wcjohnson/babylon-lightscript into prerelease/2.3.0 commit e61679c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 15:24:20 2017 -0400 Unit test for unfortunate flow typecast in if test clause commit 7c5e20e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Aug 6 12:58:46 2017 -0400 Misc cleanup - Remove errant copypasta from tildeCall.js - Clean up spacing/comments commit ffb7ddb Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:43:42 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.1 commit fb570ee Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:28:23 2017 -0400 Pipe call improvements - Support arrows as pipe call operands - Support leftward-pointing pipe calls commit f248451 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 16:09:12 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.0 commit 00a76ef Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 15:52:31 2017 -0400 Fix for left-associativity and subscripts of pipeCalls commit 6d4d300 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:43:08 2017 -0400 `pipeCall` tests commit 4e579c7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:28:40 2017 -0400 @oigroup/babylon-lightscript@2.3.0-2 commit 17f5a44 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:19:22 2017 -0400 @oigroup/babylon-lightscript@2.3.0-1 commit 0bcd865 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:07:36 2017 -0400 @oigroup/babylon-lightscript@2.3.0-0 commit 6975053 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:03:53 2017 -0400 Parsing for pipe operator commit b10a5e48d1552ff389de314762e863197bc0da7e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 22:55:34 2017 -0400 Fix associativity commit 0fac7c226b9cd9cda94a5956a45a067a145e2976 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 22:22:34 2017 -0400 Parse pipe operator as subscript commit b21acb2f12941d9d7d4279320de4c55c7ee3b50f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 21:17:17 2017 -0400 Basic pipeCall parsing commit 70ee2c8 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:46:52 2017 -0400 Syntactic placeholders commit d5d4e74 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:41:48 2017 -0400 Allow placeholder to be changed via config commit 32e43a0 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:24:59 2017 -0400 Spread placeholder tests commit 73b9d32 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 15:31:50 2017 -0400 Initial implementation of syntactic placeholders commit 7701096 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 00:18:33 2017 -0400 Factor tildeCalls out to a parser plugin See wcjohnson/lightscript#18 commit 500cff4 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jul 15 23:33:13 2017 -0400 bangCall: clean up copypasta, more tests commit 5cd9309 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jul 15 23:18:32 2017 -0400 @oigroup/babylon-lightscript@2.2.1 commit aafb990 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jul 15 22:49:22 2017 -0400 bangCall: unwind at argIndentLevel See wcjohnson/lightscript#14 (not marking as fixed yet, awaiting more testing) commit 9fa7ea2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jul 15 22:21:11 2017 -0400 preferObjectLiteral: allow tilde calls that begin with object literals fixes wcjohnson/lightscript#11 commit ee3d258 Author: Bo Lingen <lingenbw@gmail.com> Date: Sat Jul 15 02:07:13 2017 -0500 remove get & set arrows (lightscript#32) * remove get & set arrows * update tests for getters & setters * add error for non-skinny arrow getter / setter commit b9d8db7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jul 14 23:50:32 2017 -0400 @oigroup/babylon-lightscript@2.2.0 commit 55a08e9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jul 14 23:25:31 2017 -0400 Additional testing for `new` bang-calls commit 84a28a5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jul 14 23:10:16 2017 -0400 Allow `new` to be used with bang call syntax commit e156263 Author: Bo Lingen <thecitycide@gmail.com> Date: Fri Jul 14 20:46:10 2017 +0000 update tests for getters & setters commit 9dd02c3 Author: Bo Lingen <thecitycide@gmail.com> Date: Fri Jul 14 20:45:37 2017 +0000 remove get & set arrows commit d28c42a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jul 13 18:21:06 2017 -0400 @oigroup/babylon-lightscript@2.1.1 commit c892889 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jul 7 13:14:35 2017 -0400 Object-block ambiguity error-propagation change commit dcdb40ea10a58b376ca7f2a90f66d95619208767 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jul 7 13:12:33 2017 -0400 Add error-propagation test case commit d449a13417c7b45d60e84abe2d5bbd5cf9b4112b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jul 7 13:01:58 2017 -0400 Prefer to throw error arising from object literal parse commit 7cfc225f0da0399aa0720c1e915de89da531e858 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jul 7 12:51:16 2017 -0400 Refactor commit c33d191 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jul 6 20:48:03 2017 -0400 @oigroup/babylon-lightscript@2.1.0 commit 0802246 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jul 6 20:06:14 2017 -0400 Object-Block Ambiguity resolution commit 22b6773 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jul 6 20:02:59 2017 -0400 Object-block ambiguity fixtures commit c2b08ac Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jul 6 18:10:34 2017 -0400 Update LSC fixtures commit a8a644c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jul 6 18:02:58 2017 -0400 Update Babylon fixtures commit 5a85517 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jul 6 17:48:11 2017 -0400 Object-block ambiguity: prefer parsing objects over braceblocks commit cf19f2e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 26 14:24:02 2017 -0400 @oigroup/babylon-lightscript@2.0.1 commit 4d2a8ac Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 26 01:22:49 2017 -0400 Fix improper conversion of rvalues to lvalues in `CallExpr`s near ternaries commit 7e6678c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 20 17:58:51 2017 -0400 Fix syntax error misattribution involving Flow type annotations on named arrow declarations commit ac1cdf6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 20 15:12:39 2017 -0400 v2.0.0 commit c2b9ee3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 20 14:09:40 2017 -0400 Add `startsExpr` to `if` commit df69041 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 20 00:59:40 2017 -0400 v2.0.0-rc.6 commit 54d3c5c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 19 21:31:02 2017 -0400 v2.0.0-rc.5 commit 684ce72 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 19 20:49:07 2017 -0400 v2.0.0-rc.4 commit 986c948 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 19 18:12:08 2017 -0400 v2.0.0-rc.3 commit 41803cd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 19 17:39:21 2017 -0400 v2.0.0-rc.2 commit 218a483 Merge: 329ae67 0454cfd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 19 17:01:13 2017 -0400 Merge branch 'oigroup' of https://github.com/wcjohnson/babylon-lightscript into oigroup commit 329ae67 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 19 17:01:04 2017 -0400 Bang call fixes (wcjohnson/lightscript#5) Fixes wcjohnson/lightscript#5 - `bangCall` implies `seqExprRequiresParen` - Fixed ASI/whitespace sensitivity for bang calls commit 0454cfd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jun 18 22:40:18 2017 -0400 v2.0.0-rc.1 commit 758c490 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 17 16:49:21 2017 -0400 `match`: allow exprs in tagged literals within Atoms commit 7514588 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 17 16:12:53 2017 -0400 `match`: Last round of fixes before RC1 - Allow unary `+`/`-` in match atoms - Disallow flowtypes in match atoms - Disallow ternaries in match atoms - Obsoletize old match syntax; single match plugin implements v4 syntax - Fixup misc unit test config - Port v3 unit tests to v4 commit 2ff3238 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 17 14:51:35 2017 -0400 Enhanced comprehensions commit 9e6ef3c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 17 00:29:23 2017 -0400 v2.0.0-beta.9 commit 66692d5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 17 00:20:48 2017 -0400 Advanced comprehensions require seqExprParens commit 887565c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 17 00:13:40 2017 -0400 Add `seqExprRequiresParen` plugin Forces `SequenceExpression`s to be wrapped in `()` commit f247002 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 19:06:25 2017 -0400 Initial test fixtures commit 02e20dc Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 18:47:23 2017 -0400 Initial plugin integration; update existing tests commit 6486503 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 17 00:26:30 2017 -0400 Add `seqExprRequiresParen` plugin When enabled, SequenceExpressions must be wrapped in () commit 0366107 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 17:30:50 2017 -0400 v2.0.0-beta.8 commit 85de06b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 17:13:05 2017 -0400 `match`: allow regex match atoms after outerGuards commit cfc18fb Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 16:02:20 2017 -0400 `match` test coverage commit 01fe662 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 15:57:50 2017 -0400 `match`: Fix else-before-case detection commit 5e94c74 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 15:43:59 2017 -0400 `match` unit test coverage commit 87f200d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 15:35:49 2017 -0400 `match` syntax change: guard-only match case ambiguity fixed commit e25203e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 15:18:33 2017 -0400 `flippedImports` is now a plugin - Infrastructure improvements - `estree` plugin must now be explicitly specified - `flippedImports` factored out commit d8f3dbf Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 13:21:59 2017 -0400 v2.0.0-beta.7 commit a1a38be Author: William C. Johnson <wcjohnson@users.noreply.github.com> Date: Fri Jun 16 13:08:42 2017 -0400 Matching v4 (wip) (#14) * Matching v4 (wip) * `PlaceholderExpression` -> `MatchPlaceholderExpression` * Eat `:` after the outer guard * Fix state flag not clearing; more tests commit fd89749 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jun 15 01:25:37 2017 -0400 Fix bug with disabling match plugin commit 8f1736c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 14 21:57:05 2017 -0400 v2.0.0-beta.6 commit 33d80d4 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 14 20:16:31 2017 -0400 Split match plugin commit 36859af Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 14 20:13:07 2017 -0400 Split match plugin commit 08d7936 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 14 18:18:49 2017 -0400 Improved plugin registration; expose API to add keywords commit ea8b386 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 14 18:04:09 2017 -0400 Factor out significant whitespace as a parser plugin commit 9fb6456550f48d41ad9bec223a5a131bf6e10e15 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 14 18:02:36 2017 -0400 Reduce dependency strictures of other plugins commit 833c69ab4e8eb401908921f4be21d248cfe1da04 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 14 18:01:01 2017 -0400 Factor out `significantWhitespace` plugin commit 47a800d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 13 23:24:00 2017 -0400 v2.0.0-beta.5 commit 5aaaf62 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 13 23:07:00 2017 -0400 Bang call indent sensitivity - Bang token is now parsed in `parseBangCall` - Track bang indent level and unwind subscripts if `indentLevel <= bangIndentLevel` commit 73b9994 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 13 22:48:15 2017 -0400 Test runner: renamed `expectedOverride` to `expected` commit 87cf9d1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 13 22:32:54 2017 -0400 Enforce subscript indentation (cf upstream) via “enforceSubscriptIndentation” plugin commit 7693731 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 13 10:57:51 2017 -0400 Allow plugins to have dependencies commit 83cf5d0 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 12 18:24:01 2017 -0400 v2.0.0-beta.4 commit a2d3ef3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 12 18:02:12 2017 -0400 v2.0.0-beta.3 commit 1a6cc7c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 12 17:58:09 2017 -0400 Skip changelog on preversion commit f13c8a6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 12 17:21:44 2017 -0400 v2.0.0-beta.2 commit 635ac27 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 12 15:46:36 2017 -0400 Fix for safe bang calls commit 35a49c3 Author: William C. Johnson <wcjohnson@users.noreply.github.com> Date: Mon Jun 12 15:18:49 2017 -0400 Bang calls (wip) (#13) Bang calls commit 0eb715d Author: William C. Johnson <wcjohnson@users.noreply.github.com> Date: Sun Jun 11 22:36:23 2017 -0400 Split safecall and existentials into plugins (#12) * Factor out safecall parsing * Flow fixture looks like existential * Move existential and safecall tests out of lightscript proper * Fix stray comment commit 78d409c Author: William C. Johnson <wcjohnson@users.noreply.github.com> Date: Sun Jun 11 21:46:28 2017 -0400 Better plugin support (#11) * Register and expose available parser plugins via api * New test runner * Configurable test alternatives * Fix missing plugins commit 5649555 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 10 23:55:48 2017 -0400 v2.0.0-beta.1 commit ca3d6bf Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 9 17:25:53 2017 -0400 Converge with upstream re: `with`, `as`, remove `PlaceholderExpr` commit 299ea2f79c85b590fa9ba349aa9a5726af5bec9d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 9 17:24:49 2017 -0400 Fixture updates for match syntax changes commit 7fcac52f25c352b8d69f48ca93af9136c83d8249 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 9 17:16:05 2017 -0400 Better error message for invalid destructures commit fa5f767c3c77b5b29a263cb782d0bf9641c184fa Author: Alex Rattray <rattray.alex@gmail.com> Date: Fri Jun 9 10:50:01 2017 -0700 Enforce with before destructuring in match case # Conflicts: # src/plugins/lightscript.js commit 01bc0e9b5d5268b120de221264169206eaa2d43a Author: Alex Rattray <rattray.alex@gmail.com> Date: Thu Jun 8 23:15:47 2017 -0700 Match discriminant as commit 75c5e22e5ae2c52f82113a4dd543647d27bb6d48 Author: Alex Rattray <rattray.alex@gmail.com> Date: Thu Jun 8 22:59:01 2017 -0700 Remove match placeholders # Conflicts: # src/plugins/lightscript.js commit 26ef4d3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 7 23:51:45 2017 -0400 v2.0.0-alpha.3 commit 09afac6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 7 18:35:05 2017 -0400 Converge with upstream pattern matching parser commit 347d118 Author: Alex Rattray <rattray.alex@gmail.com> Date: Wed Jun 7 14:48:13 2017 -0700 Enforce matching | indent levels commit 5b3a411 Author: Alex Rattray <rattray.alex@gmail.com> Date: Wed Jun 7 14:13:42 2017 -0700 Change destructuring, remove 'as' commit df8b03a Author: Alex Rattray <rattray.alex@gmail.com> Date: Wed Jun 7 09:59:29 2017 -0700 Special parsing of within commit 4ab4179 Author: Alex Rattray <rattray.alex@gmail.com> Date: Sat Jun 3 21:07:13 2017 -0700 Enforce at least one case commit 837a358 Author: Alex Rattray <rattray.alex@gmail.com> Date: Sat Jun 3 09:14:36 2017 -0700 Destructure as patterns, allow destructured 'as' commit e4b33f5 Author: Alex Rattray <rattray.alex@gmail.com> Date: Fri Jun 2 17:26:31 2017 -0700 Destructuring in pattern matching commit fe18036 Author: Alex Rattray <rattray.alex@gmail.com> Date: Thu Jun 1 15:08:26 2017 -0700 MatchStatement commit 045731f Author: Alex Rattray <rattray.alex@gmail.com> Date: Thu Jun 1 10:39:47 2017 -0700 Use colon syntax instead of comma-arrow commit 801bae6 Author: Alex Rattray <rattray.alex@gmail.com> Date: Mon Apr 24 16:39:27 2017 -0700 Pattern Matching # Conflicts: # src/parser/expression.js # src/plugins/lightscript.js # src/tokenizer/state.js # test/fixtures/lightscript/match/binary-both-subscripts/expected.json # test/fixtures/lightscript/match/binary/expected.json # test/fixtures/lightscript/match/bitwise-or-test-implicit-illegal/actual.js # test/fixtures/lightscript/match/curlies-parens/expected.json # test/fixtures/lightscript/match/curlies/expected.json # test/fixtures/lightscript/match/else-solo/expected.json # test/fixtures/lightscript/match/else/expected.json # test/fixtures/lightscript/match/in-assignment/expected.json # test/fixtures/lightscript/match/jsx-result/actual.js # test/fixtures/lightscript/match/jsx-result/expected.json # test/fixtures/lightscript/match/less-than/expected.json # test/fixtures/lightscript/match/literals/expected.json # test/fixtures/lightscript/match/multi-subscripts-illegal/actual.js # test/fixtures/lightscript/match/multi-subscripts-number/expected.json # test/fixtures/lightscript/match/multi-subscripts/actual.js # test/fixtures/lightscript/match/multi-subscripts/expected.json # test/fixtures/lightscript/match/nested/actual.js # test/fixtures/lightscript/match/nested/expected.json # test/fixtures/lightscript/match/parens-arent-calls/expected.json # test/fixtures/lightscript/match/parens-no-curlies/expected.json # test/fixtures/lightscript/match/subscript-in-tilde/expected.json # test/fixtures/lightscript/match/subscripts/actual.js # test/fixtures/lightscript/match/subscripts/expected.json # test/fixtures/lightscript/match/tag-literal/expected.json commit 6bbcd5a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 7 01:47:23 2017 -0400 2.0.0-alpha.2 commit 1bc2827 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 7 00:25:55 2017 -0400 Disallow empty arrow bodies commit 8861302 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 7 00:09:43 2017 -0400 Pattern matching v2 commit d2278dd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 6 17:22:48 2017 -0400 Semver commit ab3ad4f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jun 4 16:24:05 2017 -0400 Fix for ambiguity with Object/ArrayExpressions at beginning of test commit 7d2b484 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 3 23:12:39 2017 -0400 Parsing for new pattern matching syntax
commit 65d3524 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Oct 3 15:26:02 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.4 commit 8b1634e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 21:36:16 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.3 commit ffcf461 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 21:00:50 2017 -0400 More detailed error message in ambiguous cases. commit 210de1f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 20:33:26 2017 -0400 `noLabeledExpressionStatements` plugin added commit 6ff25b9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Oct 2 20:04:53 2017 -0400 Revert `?.(` syntax due to JS stage 1 proposal uncertainty commit 249aee6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 22:09:43 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.2 commit eea37ea Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 21:42:18 2017 -0400 New WBP fixes commit d4184a6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 21:39:47 2017 -0400 `whiteblockPreferred` updates commit 5e45d5e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 18:13:56 2017 -0400 Lightscript OBA fixup commit 1aded08 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 17:39:12 2017 -0400 Whiteblock-preferred, step 1 commit 0e97a7b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 18:16:47 2017 -0400 Whiteblock-preferred mode commit 5e45d5e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 18:13:56 2017 -0400 Lightscript OBA fixup commit 1aded08 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 30 17:39:12 2017 -0400 Whiteblock-preferred, step 1 commit 0a87973 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:27:27 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.1 commit f6b5fb7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 21:11:25 2017 -0400 Splat comprehensions commit 93088f6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Sep 28 17:07:19 2017 -0400 Splat comprehension parsing commit 76e14e8 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 22:17:23 2017 -0400 @oigroup/babylon-lightscript@3.0.0-alpha.0 commit bcd22fe Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 21:28:09 2017 -0400 `whiteblockOnly` mode commit 160ee23 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 20:59:11 2017 -0400 Parse `{` as expressionStatement when whiteblockOnly enabled commit afd89a2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 20:36:21 2017 -0400 Initial whiteblockOnly impl, test fixes commit 5aa3ee5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Sep 27 15:44:02 2017 -0400 Merge 2.3 fixes commit 15799aa Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 16:01:25 2017 -0400 @oigroup/babylon-lightscript@2.3.1 commit e816aa7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 15:54:40 2017 -0400 @oigroup/babylon-lightscript@2.3.0 commit 2376b75 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 15:41:14 2017 -0400 2.3.0 - Syntactic placeholders - Pipe calls `|>`, `<|` - Track block nesting level in parser state - Fix bang call subscript unwinding crossing block boundaries - Fix premature “comprehensions are illegal” error disallowing patterns with “for” or “case” keys - Don’t lint when testing commit 64f066f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 15:36:41 2017 -0400 Fix for bang call subscripting issue across block boundaries commit bda54e5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 14:38:44 2017 -0400 Comprehension fixes commit 476419a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 15:53:55 2017 -0400 Run lint and flow at `preversion`, not `test` commit 266f948 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 18 23:16:07 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.3 commit 2342c39 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 16:51:01 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.2 commit 21a26a8 Merge: e61679c 7c5e20e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 15:24:38 2017 -0400 Merge branch 'prerelease/2.3.0' of https://github.com/wcjohnson/babylon-lightscript into prerelease/2.3.0 commit e61679c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 15:24:20 2017 -0400 Unit test for unfortunate flow typecast in if test clause commit 7c5e20e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Aug 6 12:58:46 2017 -0400 Misc cleanup - Remove errant copypasta from tildeCall.js - Clean up spacing/comments commit ffb7ddb Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:43:42 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.1 commit fb570ee Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:28:23 2017 -0400 Pipe call improvements - Support arrows as pipe call operands - Support leftward-pointing pipe calls commit f248451 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 16:09:12 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.0 commit 00a76ef Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 15:52:31 2017 -0400 Fix for left-associativity and subscripts of pipeCalls commit 6d4d300 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:43:08 2017 -0400 `pipeCall` tests commit 4e579c7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:28:40 2017 -0400 @oigroup/babylon-lightscript@2.3.0-2 commit 17f5a44 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:19:22 2017 -0400 @oigroup/babylon-lightscript@2.3.0-1 commit 0bcd865 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:07:36 2017 -0400 @oigroup/babylon-lightscript@2.3.0-0 commit 6975053 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:03:53 2017 -0400 Parsing for pipe operator commit b10a5e48d1552ff389de314762e863197bc0da7e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 22:55:34 2017 -0400 Fix associativity commit 0fac7c226b9cd9cda94a5956a45a067a145e2976 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 22:22:34 2017 -0400 Parse pipe operator as subscript commit b21acb2f12941d9d7d4279320de4c55c7ee3b50f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 21:17:17 2017 -0400 Basic pipeCall parsing commit 70ee2c8 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:46:52 2017 -0400 Syntactic placeholders commit d5d4e74 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:41:48 2017 -0400 Allow placeholder to be changed via config commit 32e43a0 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:24:59 2017 -0400 Spread placeholder tests commit 73b9d32 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 15:31:50 2017 -0400 Initial implementation of syntactic placeholders commit 833e5b9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Aug 6 12:58:46 2017 -0400 Misc cleanup - Remove errant copypasta from tildeCall.js - Clean up spacing/comments commit eaa42cd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 25 14:38:44 2017 -0400 Comprehension fixes commit 97109a6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 01:55:17 2017 -0400 Fix for bang-tilde-call parsing commit 33e044c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Sep 24 01:30:12 2017 -0400 Tilde calls now generate `CallExpression` nodes with `tilde: true` commit 926a863 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 15:55:42 2017 -0400 Converge with Babel re optional chaining - Eliminate `SafeMemberExpression` node type; use `MemberExpression` with `optional = true` instead. - Use `optional = true` for safe `CallExpression`s - Allow proposed `x?.(arg, arg…)` syntax for safe calls commit 99f8c0b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Sep 23 15:53:55 2017 -0400 Run lint and flow at `preversion`, not `test` commit 266f948 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Sep 18 23:16:07 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.3 commit 2342c39 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 16:51:01 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.2 commit 21a26a8 Merge: e61679c 7c5e20e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 15:24:38 2017 -0400 Merge branch 'prerelease/2.3.0' of https://github.com/wcjohnson/babylon-lightscript into prerelease/2.3.0 commit e61679c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Sep 5 15:24:20 2017 -0400 Unit test for unfortunate flow typecast in if test clause commit 7c5e20e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Aug 6 12:58:46 2017 -0400 Misc cleanup - Remove errant copypasta from tildeCall.js - Clean up spacing/comments commit ffb7ddb Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:43:42 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.1 commit fb570ee Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jul 19 21:28:23 2017 -0400 Pipe call improvements - Support arrows as pipe call operands - Support leftward-pointing pipe calls commit f248451 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 16:09:12 2017 -0400 @oigroup/babylon-lightscript@2.3.0-alpha.0 commit 00a76ef Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 15:52:31 2017 -0400 Fix for left-associativity and subscripts of pipeCalls commit 6d4d300 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:43:08 2017 -0400 `pipeCall` tests commit 4e579c7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jul 17 00:28:40 2017 -0400 @oigroup/babylon-lightscript@2.3.0-2 commit 17f5a44 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:19:22 2017 -0400 @oigroup/babylon-lightscript@2.3.0-1 commit 0bcd865 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:07:36 2017 -0400 @oigroup/babylon-lightscript@2.3.0-0 commit 6975053 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 23:03:53 2017 -0400 Parsing for pipe operator commit b10a5e48d1552ff389de314762e863197bc0da7e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 22:55:34 2017 -0400 Fix associativity commit 0fac7c226b9cd9cda94a5956a45a067a145e2976 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 22:22:34 2017 -0400 Parse pipe operator as subscript commit b21acb2f12941d9d7d4279320de4c55c7ee3b50f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 21:17:17 2017 -0400 Basic pipeCall parsing commit 70ee2c8 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:46:52 2017 -0400 Syntactic placeholders commit d5d4e74 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:41:48 2017 -0400 Allow placeholder to be changed via config commit 32e43a0 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 20:24:59 2017 -0400 Spread placeholder tests commit 73b9d32 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 15:31:50 2017 -0400 Initial implementation of syntactic placeholders commit 7701096 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jul 16 00:18:33 2017 -0400 Factor tildeCalls out to a parser plugin See wcjohnson/lightscript#18 commit 500cff4 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jul 15 23:33:13 2017 -0400 bangCall: clean up copypasta, more tests commit 5cd9309 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jul 15 23:18:32 2017 -0400 @oigroup/babylon-lightscript@2.2.1 commit aafb990 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jul 15 22:49:22 2017 -0400 bangCall: unwind at argIndentLevel See wcjohnson/lightscript#14 (not marking as fixed yet, awaiting more testing) commit 9fa7ea2 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jul 15 22:21:11 2017 -0400 preferObjectLiteral: allow tilde calls that begin with object literals fixes wcjohnson/lightscript#11 commit ee3d258 Author: Bo Lingen <lingenbw@gmail.com> Date: Sat Jul 15 02:07:13 2017 -0500 remove get & set arrows (lightscript#32) * remove get & set arrows * update tests for getters & setters * add error for non-skinny arrow getter / setter commit b9d8db7 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jul 14 23:50:32 2017 -0400 @oigroup/babylon-lightscript@2.2.0 commit 55a08e9 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jul 14 23:25:31 2017 -0400 Additional testing for `new` bang-calls commit 84a28a5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jul 14 23:10:16 2017 -0400 Allow `new` to be used with bang call syntax commit e156263 Author: Bo Lingen <thecitycide@gmail.com> Date: Fri Jul 14 20:46:10 2017 +0000 update tests for getters & setters commit 9dd02c3 Author: Bo Lingen <thecitycide@gmail.com> Date: Fri Jul 14 20:45:37 2017 +0000 remove get & set arrows commit d28c42a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jul 13 18:21:06 2017 -0400 @oigroup/babylon-lightscript@2.1.1 commit c892889 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jul 7 13:14:35 2017 -0400 Object-block ambiguity error-propagation change commit dcdb40ea10a58b376ca7f2a90f66d95619208767 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jul 7 13:12:33 2017 -0400 Add error-propagation test case commit d449a13417c7b45d60e84abe2d5bbd5cf9b4112b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jul 7 13:01:58 2017 -0400 Prefer to throw error arising from object literal parse commit 7cfc225f0da0399aa0720c1e915de89da531e858 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jul 7 12:51:16 2017 -0400 Refactor commit c33d191 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jul 6 20:48:03 2017 -0400 @oigroup/babylon-lightscript@2.1.0 commit 0802246 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jul 6 20:06:14 2017 -0400 Object-Block Ambiguity resolution commit 22b6773 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jul 6 20:02:59 2017 -0400 Object-block ambiguity fixtures commit c2b08ac Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jul 6 18:10:34 2017 -0400 Update LSC fixtures commit a8a644c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jul 6 18:02:58 2017 -0400 Update Babylon fixtures commit 5a85517 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jul 6 17:48:11 2017 -0400 Object-block ambiguity: prefer parsing objects over braceblocks commit cf19f2e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 26 14:24:02 2017 -0400 @oigroup/babylon-lightscript@2.0.1 commit 4d2a8ac Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 26 01:22:49 2017 -0400 Fix improper conversion of rvalues to lvalues in `CallExpr`s near ternaries commit 7e6678c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 20 17:58:51 2017 -0400 Fix syntax error misattribution involving Flow type annotations on named arrow declarations commit ac1cdf6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 20 15:12:39 2017 -0400 v2.0.0 commit c2b9ee3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 20 14:09:40 2017 -0400 Add `startsExpr` to `if` commit df69041 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 20 00:59:40 2017 -0400 v2.0.0-rc.6 commit 54d3c5c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 19 21:31:02 2017 -0400 v2.0.0-rc.5 commit 684ce72 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 19 20:49:07 2017 -0400 v2.0.0-rc.4 commit 986c948 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 19 18:12:08 2017 -0400 v2.0.0-rc.3 commit 41803cd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 19 17:39:21 2017 -0400 v2.0.0-rc.2 commit 218a483 Merge: 329ae67 0454cfd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 19 17:01:13 2017 -0400 Merge branch 'oigroup' of https://github.com/wcjohnson/babylon-lightscript into oigroup commit 329ae67 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 19 17:01:04 2017 -0400 Bang call fixes (wcjohnson/lightscript#5) Fixes wcjohnson/lightscript#5 - `bangCall` implies `seqExprRequiresParen` - Fixed ASI/whitespace sensitivity for bang calls commit 0454cfd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jun 18 22:40:18 2017 -0400 v2.0.0-rc.1 commit 758c490 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 17 16:49:21 2017 -0400 `match`: allow exprs in tagged literals within Atoms commit 7514588 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 17 16:12:53 2017 -0400 `match`: Last round of fixes before RC1 - Allow unary `+`/`-` in match atoms - Disallow flowtypes in match atoms - Disallow ternaries in match atoms - Obsoletize old match syntax; single match plugin implements v4 syntax - Fixup misc unit test config - Port v3 unit tests to v4 commit 2ff3238 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 17 14:51:35 2017 -0400 Enhanced comprehensions commit 9e6ef3c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 17 00:29:23 2017 -0400 v2.0.0-beta.9 commit 66692d5 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 17 00:20:48 2017 -0400 Advanced comprehensions require seqExprParens commit 887565c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 17 00:13:40 2017 -0400 Add `seqExprRequiresParen` plugin Forces `SequenceExpression`s to be wrapped in `()` commit f247002 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 19:06:25 2017 -0400 Initial test fixtures commit 02e20dc Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 18:47:23 2017 -0400 Initial plugin integration; update existing tests commit 6486503 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 17 00:26:30 2017 -0400 Add `seqExprRequiresParen` plugin When enabled, SequenceExpressions must be wrapped in () commit 0366107 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 17:30:50 2017 -0400 v2.0.0-beta.8 commit 85de06b Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 17:13:05 2017 -0400 `match`: allow regex match atoms after outerGuards commit cfc18fb Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 16:02:20 2017 -0400 `match` test coverage commit 01fe662 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 15:57:50 2017 -0400 `match`: Fix else-before-case detection commit 5e94c74 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 15:43:59 2017 -0400 `match` unit test coverage commit 87f200d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 15:35:49 2017 -0400 `match` syntax change: guard-only match case ambiguity fixed commit e25203e Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 15:18:33 2017 -0400 `flippedImports` is now a plugin - Infrastructure improvements - `estree` plugin must now be explicitly specified - `flippedImports` factored out commit d8f3dbf Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 16 13:21:59 2017 -0400 v2.0.0-beta.7 commit a1a38be Author: William C. Johnson <wcjohnson@users.noreply.github.com> Date: Fri Jun 16 13:08:42 2017 -0400 Matching v4 (wip) (#14) * Matching v4 (wip) * `PlaceholderExpression` -> `MatchPlaceholderExpression` * Eat `:` after the outer guard * Fix state flag not clearing; more tests commit fd89749 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Thu Jun 15 01:25:37 2017 -0400 Fix bug with disabling match plugin commit 8f1736c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 14 21:57:05 2017 -0400 v2.0.0-beta.6 commit 33d80d4 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 14 20:16:31 2017 -0400 Split match plugin commit 36859af Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 14 20:13:07 2017 -0400 Split match plugin commit 08d7936 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 14 18:18:49 2017 -0400 Improved plugin registration; expose API to add keywords commit ea8b386 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 14 18:04:09 2017 -0400 Factor out significant whitespace as a parser plugin commit 9fb6456550f48d41ad9bec223a5a131bf6e10e15 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 14 18:02:36 2017 -0400 Reduce dependency strictures of other plugins commit 833c69ab4e8eb401908921f4be21d248cfe1da04 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 14 18:01:01 2017 -0400 Factor out `significantWhitespace` plugin commit 47a800d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 13 23:24:00 2017 -0400 v2.0.0-beta.5 commit 5aaaf62 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 13 23:07:00 2017 -0400 Bang call indent sensitivity - Bang token is now parsed in `parseBangCall` - Track bang indent level and unwind subscripts if `indentLevel <= bangIndentLevel` commit 73b9994 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 13 22:48:15 2017 -0400 Test runner: renamed `expectedOverride` to `expected` commit 87cf9d1 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 13 22:32:54 2017 -0400 Enforce subscript indentation (cf upstream) via “enforceSubscriptIndentation” plugin commit 7693731 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 13 10:57:51 2017 -0400 Allow plugins to have dependencies commit 83cf5d0 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 12 18:24:01 2017 -0400 v2.0.0-beta.4 commit a2d3ef3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 12 18:02:12 2017 -0400 v2.0.0-beta.3 commit 1a6cc7c Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 12 17:58:09 2017 -0400 Skip changelog on preversion commit f13c8a6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 12 17:21:44 2017 -0400 v2.0.0-beta.2 commit 635ac27 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Mon Jun 12 15:46:36 2017 -0400 Fix for safe bang calls commit 35a49c3 Author: William C. Johnson <wcjohnson@users.noreply.github.com> Date: Mon Jun 12 15:18:49 2017 -0400 Bang calls (wip) (#13) Bang calls commit 0eb715d Author: William C. Johnson <wcjohnson@users.noreply.github.com> Date: Sun Jun 11 22:36:23 2017 -0400 Split safecall and existentials into plugins (#12) * Factor out safecall parsing * Flow fixture looks like existential * Move existential and safecall tests out of lightscript proper * Fix stray comment commit 78d409c Author: William C. Johnson <wcjohnson@users.noreply.github.com> Date: Sun Jun 11 21:46:28 2017 -0400 Better plugin support (#11) * Register and expose available parser plugins via api * New test runner * Configurable test alternatives * Fix missing plugins commit 5649555 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 10 23:55:48 2017 -0400 v2.0.0-beta.1 commit ca3d6bf Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 9 17:25:53 2017 -0400 Converge with upstream re: `with`, `as`, remove `PlaceholderExpr` commit 299ea2f79c85b590fa9ba349aa9a5726af5bec9d Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 9 17:24:49 2017 -0400 Fixture updates for match syntax changes commit 7fcac52f25c352b8d69f48ca93af9136c83d8249 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Fri Jun 9 17:16:05 2017 -0400 Better error message for invalid destructures commit fa5f767c3c77b5b29a263cb782d0bf9641c184fa Author: Alex Rattray <rattray.alex@gmail.com> Date: Fri Jun 9 10:50:01 2017 -0700 Enforce with before destructuring in match case # Conflicts: # src/plugins/lightscript.js commit 01bc0e9b5d5268b120de221264169206eaa2d43a Author: Alex Rattray <rattray.alex@gmail.com> Date: Thu Jun 8 23:15:47 2017 -0700 Match discriminant as commit 75c5e22e5ae2c52f82113a4dd543647d27bb6d48 Author: Alex Rattray <rattray.alex@gmail.com> Date: Thu Jun 8 22:59:01 2017 -0700 Remove match placeholders # Conflicts: # src/plugins/lightscript.js commit 26ef4d3 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 7 23:51:45 2017 -0400 v2.0.0-alpha.3 commit 09afac6 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 7 18:35:05 2017 -0400 Converge with upstream pattern matching parser commit 347d118 Author: Alex Rattray <rattray.alex@gmail.com> Date: Wed Jun 7 14:48:13 2017 -0700 Enforce matching | indent levels commit 5b3a411 Author: Alex Rattray <rattray.alex@gmail.com> Date: Wed Jun 7 14:13:42 2017 -0700 Change destructuring, remove 'as' commit df8b03a Author: Alex Rattray <rattray.alex@gmail.com> Date: Wed Jun 7 09:59:29 2017 -0700 Special parsing of within commit 4ab4179 Author: Alex Rattray <rattray.alex@gmail.com> Date: Sat Jun 3 21:07:13 2017 -0700 Enforce at least one case commit 837a358 Author: Alex Rattray <rattray.alex@gmail.com> Date: Sat Jun 3 09:14:36 2017 -0700 Destructure as patterns, allow destructured 'as' commit e4b33f5 Author: Alex Rattray <rattray.alex@gmail.com> Date: Fri Jun 2 17:26:31 2017 -0700 Destructuring in pattern matching commit fe18036 Author: Alex Rattray <rattray.alex@gmail.com> Date: Thu Jun 1 15:08:26 2017 -0700 MatchStatement commit 045731f Author: Alex Rattray <rattray.alex@gmail.com> Date: Thu Jun 1 10:39:47 2017 -0700 Use colon syntax instead of comma-arrow commit 801bae6 Author: Alex Rattray <rattray.alex@gmail.com> Date: Mon Apr 24 16:39:27 2017 -0700 Pattern Matching # Conflicts: # src/parser/expression.js # src/plugins/lightscript.js # src/tokenizer/state.js # test/fixtures/lightscript/match/binary-both-subscripts/expected.json # test/fixtures/lightscript/match/binary/expected.json # test/fixtures/lightscript/match/bitwise-or-test-implicit-illegal/actual.js # test/fixtures/lightscript/match/curlies-parens/expected.json # test/fixtures/lightscript/match/curlies/expected.json # test/fixtures/lightscript/match/else-solo/expected.json # test/fixtures/lightscript/match/else/expected.json # test/fixtures/lightscript/match/in-assignment/expected.json # test/fixtures/lightscript/match/jsx-result/actual.js # test/fixtures/lightscript/match/jsx-result/expected.json # test/fixtures/lightscript/match/less-than/expected.json # test/fixtures/lightscript/match/literals/expected.json # test/fixtures/lightscript/match/multi-subscripts-illegal/actual.js # test/fixtures/lightscript/match/multi-subscripts-number/expected.json # test/fixtures/lightscript/match/multi-subscripts/actual.js # test/fixtures/lightscript/match/multi-subscripts/expected.json # test/fixtures/lightscript/match/nested/actual.js # test/fixtures/lightscript/match/nested/expected.json # test/fixtures/lightscript/match/parens-arent-calls/expected.json # test/fixtures/lightscript/match/parens-no-curlies/expected.json # test/fixtures/lightscript/match/subscript-in-tilde/expected.json # test/fixtures/lightscript/match/subscripts/actual.js # test/fixtures/lightscript/match/subscripts/expected.json # test/fixtures/lightscript/match/tag-literal/expected.json commit 6bbcd5a Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 7 01:47:23 2017 -0400 2.0.0-alpha.2 commit 1bc2827 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 7 00:25:55 2017 -0400 Disallow empty arrow bodies commit 8861302 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Wed Jun 7 00:09:43 2017 -0400 Pattern matching v2 commit d2278dd Author: William C. Johnson <wcjohnson@oigroup.net> Date: Tue Jun 6 17:22:48 2017 -0400 Semver commit ab3ad4f Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sun Jun 4 16:24:05 2017 -0400 Fix for ambiguity with Object/ArrayExpressions at beginning of test commit 7d2b484 Author: William C. Johnson <wcjohnson@oigroup.net> Date: Sat Jun 3 23:12:39 2017 -0400 Parsing for new pattern matching syntax
Remove
-get>
&-set>
arrows in favor of regular JS syntax.current syntax
"what's old is new again" syntax