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-12-04 9:17

>>35
I don't understand why you need to redefine an object behavior (object methods) at runtime. OOP is all about self-contained objects that communicate to one another by passing messages to one another. I've never needed to design OO systems where the behavior needed to change (by adding, removing or overriding functions) during runtime. I've always designed them as independent objects that work in their own self-contained worlds and communicate through "messages" as soon as they need to read or send information to other self-contained worlds (other objects).

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