ELSEIF
Your brief EB
388 stories from 115 feeds 454 clusters Refreshed 9 minutes ago next pull 16:52

INFRA Signal 407

Opus Lisp dialect unifies functions and macros into operatives and compiles to WebAssembly

Opus is a statically-scoped Lisp dialect implemented in Haskell that compiles to WebAssembly and unifies functions and macros into a single primitive called the operative.

WHY IT MATTERS

By treating environments as first-class executable values and eliminating hardcoded special forms, Opus shifts features like hygienic modules and sandboxing from the interpreter to user-land code. This allows engineers to create mathematically safe, read-only sandboxes simply by removing binding capabilities in a child environment.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

Opus unifies functions and macros into a single primitive called the operative, which receives unevaluated arguments and accesses the calling environment.

02

Environments are treated as first-class operatives that evaluate Abstract Syntax Trees, replacing the traditional eval function.

03

The language is implemented in Haskell using Continuation-Passing Style and compiles to WebAssembly.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
github.com via Lobsters Opus is a minimal, statically-scoped Lisp dialect based on the semantics of f-expressions (the Kernel language) Open ↗