manuel/wat-js
View on GitHub ↗ ★ 262 JavaScript
Concurrency and Metaprogramming for JS
14 mentions on Hacker News by 7 people: 3 stories, 11 comments · first 2012-09-06 · latest 2025-10-06
20082026
-
…on top, but the basis is there, along with demos of exception handling, branching, fibres etc. https://github.com/manuel/wat-js Obviously with forths the callstack is already in userland to implement these things, might be a bit…
comment by alexisread · 2025-10-06 · in Delimited continuations in lone Lisp -
…at Kernel and wat? They use a fundamental operator (vau) to make macros, instead of a special form: https://github.com/manuel/wat-js maru has this vau operator implicitly, rather than explicitly: https://github.com/attila-lendvai/maru
comment by alexisread · 2025-04-28 · in Ask HN: What are you working on? (April 2025) -
Interestingly Wat ( https://github.com/manuel/wat-js ) handles Dynamic Variables, which fit well with serialized code, in that the serialization boundary can be better partitioned into variables you need to serialize (locals etc.), and…
comment by alexisread · 2025-04-09 · in React for Two Computers -
One evolution of (You're probably aware of re:axisofeval) Kernel is Wat ( https://github.com/manuel/wat-js ), which implements the Vau operator (hygenic F-exprs), full delimited continuations (as opposed to the usual Shift/reset…
comment by alexisread · 2025-03-11 · in Bel in Clojure (2022) -
…(delimited continuations with lexically scoped dynamic binding would come from the lisp side (see https://github.com/manuel/wat-js ). Memory management in Forth can handle multiple memory types eg. https://flashforth.com/ so adding…
comment by alexisread · 2023-10-16 · in C Is Not a Low-level Language (2018) -
…as well: https://okmij.org/ftp/papers/DDBinding.pdf The above is succinctly implemented in wat: https://github.com/manuel/wat-js (also see forks for more documented versions).
comment by alexisread · 2023-10-07 · in The Workflow Pattern -
I'll drop this here: https://github.com/manuel/wat-js If you have delimited continuations then you can construct coroutines/threads/await/async, promises etc. I guess that this might be suitable for many scenarios thanks to nodejs, but the…
comment by alexisread · 2023-03-05 · in Building a new functional programming language -
Kernel and it's successor wat ( https://github.com/manuel/wat-js ) has some great stuff, I personally prefer open composition from maru https://www.piumarta.com/freeco11/freeco11-piumarta-oecm.pdf as it combines fexprs and macros into one…
comment by alexisread · 2022-04-27 · in The Mysteries of Lisp (2015) -
https://github.com/manuel/wat-js/ https://github.com/shadowcat-mst/wat-pl
comment by mncharity · 2018-10-22 · in SICP Goodness – The Environment Model -
…by Manuel Simoni, with continuations, dynamic binding, macros and all the other lisp goodies. [1] - https://github.com/manuel/wat-js
comment by octo_t · 2013-05-13 · in Building a Lisp to Javascript compiler