Alex Vincent (2016-08-23T04:53:58.000Z)
I have a new ECMAScript membrane implementation [1], which I will maintain
and use in a professional capacity, and which I’m looking for lots of help
with in the form of code reviews and API design advice.

I wrote a lengthier post on my weblog [2], with more details of what I hope
to get out of it.  From this group, I'm hoping to get some API design
advice, and suggestions on how to make it even more ECMAScript-friendly and
follow the rules of ES6 modules.

Side note, specifically for this group:  After reading Dr. Rauschmeyer's
chapter on ES6 modules [3], I tried writing the following:
try {
  import ...
}
catch (e) {
  // do something else
}

But that resulted in a syntax error for import not being the first line of
the script.  I really wonder why it's illegal to wrap the import statement
in a try block...

[1] https://github.com/ajvincent/es7-membrane
[2] https://alexvincent.us/blog/?p=908
[3] http://exploringjs.com/es6/ch_modules.html

Thank you for both your time and your good work on the ES6 specification
and implementations!



Alex Vincent
Hayward, CA

-- 
"The first step in confirming there is a bug in someone else's work is
confirming there are no bugs in your own."
-- Alexander J. Vincent, June 30, 2001
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160822/97e44f3f/attachment.html>
forbes at lindesay.co.uk (2016-08-25T10:08:35.679Z)
I have a [new ECMAScript membrane implementation](https://github.com/ajvincent/es7-membrane), which I will maintain
and use in a professional capacity, and which I’m looking for lots of help
with in the form of code reviews and API design advice.

I wrote a [lengthier post on my weblog](https://alexvincent.us/blog/?p=908), with more details of what I hope
to get out of it.  From this group, I'm hoping to get some API design
advice, and suggestions on how to make it even more ECMAScript-friendly and
follow the rules of ES6 modules.

Side note, specifically for this group:  After reading Dr. Rauschmeyer's
[chapter on ES6 modules](http://exploringjs.com/es6/ch_modules.html), I tried writing the following:

```js
try {
  import ...
}
catch (e) {
  // do something else
}
```

But that resulted in a syntax error for import not being the first line of
the script.  I really wonder why it's illegal to wrap the import statement
in a try block...

Thank you for both your time and your good work on the ES6 specification
and implementations!