{"slug": "show-hn-margeux-an-indentation-based-lisp-with-wasm-runtime", "title": "Show HN: Margeux, an indentation based Lisp with WASM runtime", "summary": "A developer released Margeux, an indentation-based Lisp with a WebAssembly runtime, as a Show HN project. Margeux ships a browser editor with a sample program in which the compiler infers a helper's parameter and result types, and a bare app declaration uses a zero-argument view function as a stateless GUI. The project's example library spans more than 40 entries, including async HTTP, PostgreSQL, JSON, macros, a WASM TUI roguelike and an LLM source-edits example.", "body_md": "Margeux Editor\nmain.mgx (entry)\nNew program\nAnimation library\nArithmetic\nAsync actions\nAsync commands\nAsync HTTP\nBass Booklet\nCanvas graphics\nCommand-line parsing\nCompile-time checks\nDeterministic random\nDictionaries\nFunctions\nGridMaster 5000\nGuitar Booklet\nHello Margeux\nInference without annotations\nInfix expressions\nJSON\nKeyed lists\nLanguage tour\nLLM source edits\nMacros\nMath library\nMessages and update\nModules\nNative processes\nNumbers\nOb4srki music tracker\nPersistent storage\nPiano Booklet\nPipeline transformation\nPostgreSQL database\nProtocols\nRay3D raycaster\nRecords\nResults\nSample sequencer\nServer application\nServer streaming\nSnake\nSource text editor\nStrings\nTerminal Sketchpad\nTime and delays\nTUI basics\nTypeBook\nTyped event handlers\nValidation form\nVariants\nVectors\nView components\nView sequences\nWasm TUI roguelike\nWasm TUI workspace\nZero-argument calls\nRun\nmain.mgx\n—\n×\n# Start here: Margeux infers the helper's parameter and result types. def greeting [name] \"Hello, {name}!\" def view [] main h1 (greeting \"Margeux\") p \"Change the name in the code, then press Run.\" # A bare app uses the zero-argument view above as a stateless GUI. app Hello\nApplication\n—\nUndo event\nRedo event\nExport trace\nImport trace\nState 0 / 0\nTransitions\nCheckpoints\nSave", "url": "https://wpnews.pro/news/show-hn-margeux-an-indentation-based-lisp-with-wasm-runtime", "canonical_source": "https://margeux.com/studio.html", "published_at": "2026-11-18 14:01:45+00:00", "updated_at": "2026-11-18 14:16:29.158543+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools"], "entities": ["Margeux"], "also_reported_by": [], "takeaway": "Margeux is an indentation-based Lisp with a WASM runtime whose compiler infers helper parameter and result types, and whose bare app declaration turns a zero-argument view function into a stateless GUI.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-margeux-an-indentation-based-lisp-with-wasm-runtime", "markdown": "https://wpnews.pro/news/show-hn-margeux-an-indentation-based-lisp-with-wasm-runtime.md", "text": "https://wpnews.pro/news/show-hn-margeux-an-indentation-based-lisp-with-wasm-runtime.txt", "jsonld": "https://wpnews.pro/news/show-hn-margeux-an-indentation-based-lisp-with-wasm-runtime.jsonld"}}