{"repo":"whispem/whispem-lang","free":true,"listed":false,"github":"https://github.com/whispem/whispem-lang","clone":"git clone https://github.com/whispem/whispem-lang.git","description":"Whispem is a small, self-hosted programming language. The compiler is written in Whispem, compiles itself, and runs on a standalone C VM — no external dependencies beyond a C compiler. Rust serves as the reference implementation.","language":"Rust","stars":142,"topics":["c","c-programming","language-design","open-source","opensource","oss","programming-language","programming-languages","rust","rust-lang"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Whispem Whisper your intent. The machine listens. Whispem is a small, self-hosted programming language. The compiler is written in Whispem, compiles itself, and runs on a standalone C VM — no external dependencies beyond a C compiler. Rust serves as the reference implementation. Current version: 6.0.0 — map · filter · reduce · closures · lambdas · f-strings · 153 Rust tests · 51 autonomous tests · zero warnings --- Quick start --- What's new in v6.0.0 map , filter , reduce Three higher-order builtins that take arrays and closures. They compose cleanly with each other and with closures: Lambda naming fix Nested closures on the same source line previously received duplicate internal names, causing outer(1)(2)(3) -style chains to return a closure instead of a value. Fixed by replacing the functions.len() counter with a monotone lambda count field in the compiler. --- The language --- Architecture The VM is a stack machine with 38 opcodes . map , filter , and reduce are pure builtins — no new opcodes. The .whbc format stays at version 0x04 . invoke closure — the mechanism used by map / filter / reduce to call user-supplied closures. Records target depth = frames.len() , pushes the closure frame, then runs execute until(target depth) . All opcodes are handled by the shared step() method, avoiding code duplication. --dump disassembles all chunks: See docs/vm.md for the complete VM specification. --- CLI --- Testing 153 Rust tests · 51 autonomous tests cover: arithmetic, strings, bo","default_branch":null,"files":null,"tree":[],"storefront":"/r/whispem","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/whispem/whispem-lang/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}