This library performs abstract interpretation via operator overloading using sweet.js macros.
It implements simple forward and reverse mode AD.
Right now, the code is at a somewhat stable state; although there is a fair amount of duplication to deal with different speed points in running the setup.
Github link: https://github.com/iffsid/ad.js
Here's a link that explains what AD is and does: http://alexey.radul.name/ideas/2013/introduction-to-automati...
This library performs abstract interpretation via operator overloading using sweet.js macros. It implements simple forward and reverse mode AD.
Right now, the code is at a somewhat stable state; although there is a fair amount of duplication to deal with different speed points in running the setup.
Comments and suggestions welcome!