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 0:14

>>12
return a.reduce((x, y) => x + y, 0)
throw `Bad jexpr: ${JSON.stringify(jexpr)}`
var [ car, ...cdr ] = params
What the fuck is this garbage?

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