Re:Show HN: LiteScript
by mistercow on Sunday March 09, 2014 @11:16AM
(#7368633)
>The only differences from literate coffeescript[0] I see from this demo are that the var keyword is back and print is a macro for console.log.
It has more than that. Check the buttons down at the bottom. It has switch statements that look for a true expression, preprocessor macros, sugar for appending to classes (like Objective-C's categories), sugar for shimming, and "nice functions" for avoiding callback hell.
That's a lot more than you get with literate CoffeeScript.
It has more than that. Check the buttons down at the bottom. It has switch statements that look for a true expression, preprocessor macros, sugar for appending to classes (like Objective-C's categories), sugar for shimming, and "nice functions" for avoiding callback hell.
That's a lot more than you get with literate CoffeeScript.