foxbenjaminfox / babel-plugin-overload

A highly experimental babel plugin for operator overloading in javascript
Apache License 2.0
46 stars 6 forks source link

Make it even more famous! #3

Open yiakwy opened 6 years ago

yiakwy commented 6 years ago

After checking out some other implementation. I believe that your implementation of an operator overloading is finally correct, easy to integrate and totally robust. I personally dislike adding flags on top of files to be processed. For example, If I use flow-typed, they cannot ensure two preprocessing work together.

Here is a demo of my algorithms to make N-Dimension universal object containers (2014, which was better than numpy). I think we can make ndarray.js with the aid of your operator overloading ability.

yiakwy commented 6 years ago

N-Demension Matrix for universal objects : https://www.youtube.com/watch?v=aLOtzQW9GJs

foxbenjaminfox commented 6 years ago

Thanks, I do rather like the way this babel plugin turned out. (That said, I would just point out that it's not really much more than a weekend project I put together once, so I'd hesitate a bit before calling it things like robust. Still, I'm glad you like it.)

I'd certainly enjoy seeing an implementation of ndarray.js on top of this plugin, if you do end up creating one.