Better HN
topnewbestaskshowjobs
Log inSign up

kriskowal

3 karma · joined Jul 17, 2009 (17y ago) · 2 submissions

Submissions

comment 17y ago · link · parent

CommonJS is tracking ES5. For the time being, we vaguely suggest that all compliant implementations must support all features of ES5 that are implementable or stubbable with existing JavaScript features. For example, Object.freeze can be implemented as a stub no-op so people are free to use the API in their modules, and get the feature when it's supported. The intent is to eventually make ES5 compliance a requirement.

comment 17y ago · link · parent

Aeons ago, I wrote a language called SWL that served this exact purpose. It's an condensed HTML dialect, similar to later inventions like markdown and textile, but designed for programming and minimizing markup. It takes a template from the directory context and generates HTML from all the SWL files.

http://cixar.com/swl/