Margeux Editor
main.mgx (entry)
New program
Animation library
Arithmetic
Async actions
Async commands
Async HTTP
Bass Booklet
Canvas graphics
Command-line parsing
Compile-time checks
Deterministic random
Dictionaries
Functions
Gable
GridMaster 5000
Guitar Booklet
Hello Margeux
Inference without annotations
Infix expressions
JSON
Keyed lists
Language tour
LLM source edits
Macros
Math library
Messages and update
Modules
Native processes
Numbers
Ob4srki music tracker
Persistent storage
Piano Booklet
Pipeline transformation
PostgreSQL database
Protocols
Ray3D raycaster
Records
Results
Server application
Server streaming
Snake
Source text editor
Strings
Terminal Sketchpad
Time and delays
TUI basics
TypeBook
Typed event handlers
Validation form
Variants
Vectors
View components
View sequences
Wasm TUI roguelike
Wasm TUI workspace
Zero-argument calls
Run
main.mgx
—
×
# 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
Application
—
Undo event
Redo event
Export trace
Import trace
State 0 / 0
Transitions
Checkpoints
Save