Bob Myers (2018-02-10T08:05:58.000Z)
>  write a Babel plugin

As far as I know, the plugin architecture to Babylon, Babel's parser, is
not open, and the parser cannot be extended.
What is open to regular people is the ability to write Babel plugins to
analyze or transform the AST.
The only alternative for new syntax at the moment would be to fork Babylon.
Let me know if you know something I don't.

From
https://github.com/thejameskyle/babel-handbook/blob/master/translations/en/plugin-handbook.md
:

> Note that Babylon has not yet opened this API to external plugins,
although may do so in the future.

Bob

On Fri, Feb 9, 2018 at 4:25 PM, Andy Earnshaw <andyearnshaw at gmail.com>
wrote:

> Bob, I think it's an interesting idea too, but you can't strong-arm people
> into getting excited about what you're asking for.  If it really is that
> important to you then put together a solid proposal, write a Babel plugin
> and then try to find a champion for it.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180210/088cd86c/attachment.html>
rtm at gol.com (2018-02-10T16:52:35.211Z)
>  write a Babel plugin

As far as I know, the plugin architecture to Babylon, Babel's parser, is
not open, and the parser cannot be extended.
What is open to regular people is the ability to write Babel plugins to
analyze or transform the AST.
The only alternative for new syntax at the moment would be to fork Babylon.
Let me know if you know something I don't.

From
https://github.com/thejameskyle/babel-handbook/blob/master/translations/en/plugin-handbook.md
:

> Note that Babylon has not yet opened this API to external plugins, although may do so in the future.

Bob