extending javascript the easy way
TRANSCRIPT
CoffeeScriptLi
spyS
cript
JWacsFlapJax
Elm
Coco
FBJS JS11
Roy
Streamline JSTypeScript
Objective J
JS2Jack
Source: http://altjs.org
Use cases
Try proposed syntax before it makes into the languageCreate Micro-DSLs for your scenarioUse ideas from other languagesMake the new <your-silly-name-here>ScriptImplement basic typesYou get the idea
Start using it now
> npm install sweet.js> sjs -o output.js test_macros.sjs> node output.js
Node.js
Browserhttps://github.com/iammerrick/require-sweet
Thanks!
@sergimansillagithub.com/sergi
sergimansilla.com
http://sweetjs.org/https://github.com/mozilla/sweet.jshttp://jlongster.com/why-sweet.js-mattershttp://scriptogr.am/micmath/post/sweet-macros-in-javascripthttps://news.ycombinator.com/item?id=4560691http://youtu.be/_ahvzDzKdB0
References