Skip to content
pannous edited this page Sep 20, 2021 · 2 revisions

In an ideal world swift is the better rust and wasp is a better lisp

In Lisp to create an object like foo:{bar:3} you have to resort to ugly reader macros like #S(foo :bar 3)

Wasp is a modern programming language and 'post-lisp' data format, fixing the shortcomings of
JSON (no comments, verbose quoted keys…) ,
ECMA (breaking JS semantics) and
Lisp (maps second order citizens).

The big difference to Lisp is that everything is map based, lists are flat maps like in JS : ['a','b'] == {0:'a' 1:'b'}.

This gives an universal exception-less object data type, just like lists in lisp.

What do Lisp, ECMA and Wasm have in common anyway? Unbeknownst to many, thanks to closures and ECMA Objects, modern JavaScript is getting ever closer to the original idea of Lisp.

Home

Philosophy

data & code blocks

features

inventions

evaluation

keywords

iteration

tasks

examples

todo : bad ideas and open questions

⚠️ specification and progress are out of sync

Clone this wiki locally