Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

J-expressions make Javascript the acceptable Lisp

Name: Anonymous 2016-11-25 13:12

The consistent implementation of key enumeration order of objects in Javascript engines allows us to write specifications of composeable computations using generic JSON-serializable notation that we can call “J-expressions”.

{opname: main_parameter,
keyword1: value1,
keyword2: value2,
...}


J-expressions, in combination with functions that implement what the operation named opname is supposed to do, are then a systematic way to approach DSL construction within Javascript. The notation is as expressive as s-expressions.

Name: Anonymous 2016-11-27 12:14

>>14
Those are lambda functions, template literals, and array comprehensions, respectively. Why would you call these garbage? Ecmascript 6 added a lot of neat features and is actually fun to program in. I just wish there were an integral primitive type.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List