Tuesday, December 6, 2016

Make JS better, JS compiler

Slides at http://jsdocedjs.org/docs/stepbystep-slides/

Jerome Etienne (https://www.twitter.com/jerome_etienne) gave us a talk on his JSdoced compiler. Javascript is used a lot in compilers these days. People build new languages and make them compile to javascript. But, what about compiling javascript to javascript? Could we make javascript better this way?It turns out that we can! I am going to talk about about just that. How to compile javascript to javascript to make your javascript better.

You can do this using Jsdoced.js. Jsdoced.js will automatically extract jsdoc from your code. Using your jsdoc comments, it will generate another javascript file which makes sure your jsdoc is respected during execution. The more you documents your code, the safer it becomes. http://jsdocedjs.org/



No comments:

Post a Comment