[{"data":1,"prerenderedAt":132},["ShallowReactive",2],{"feature-pattern-matching":3,"feature-members-pattern-matching":31,"features-siblings":112},{"id":4,"title":5,"body":6,"description":21,"extension":22,"feature":23,"homepage":24,"logo":24,"meta":25,"name":5,"navigation":26,"note":24,"path":27,"references":24,"relates_to":24,"seo":28,"status":24,"stem":29,"urls":24,"year":24,"__hash__":30},"features\u002Ffeatures\u002Fpattern-matching.md","Pattern matching",{"type":7,"value":8,"toc":17},"minimark",[9],[10,11,12,13,16],"p",{},"TODO: Write the wiki article for ",[14,15,5],"strong",{},".",{"title":18,"searchDepth":19,"depth":19,"links":20},"",2,[],"TODO: Write the wiki article for Pattern matching.","md","pattern-matching",null,{},true,"\u002Ffeatures\u002Fpattern-matching",{"title":5,"description":21},"features\u002Fpattern-matching","qShnh32Q-mjG7RW3SLcbSd8oMtwhFu5UpKlcbzmTvlY",[32,44,50,58,64,73,79,87,92,100,106],{"name":33,"path":34,"logo":24,"year":35,"kind":36,"note":37,"paradigms":38,"typing":43},"Pi","\u002Flanguages\u002Fpi",2009,"language","Pattern language from TUD Darmstadt whose only construct is the pattern: an EBNF production with an associated meaning, so syntax and semantics extend together from inside the language. Presented at OOPSLA\u002FOnward! '09; never released beyond an alpha-stage Java interpreter.",[39,40,41,42],"domain-specific","functional","imperative","pattern-oriented","dynamic",{"name":45,"path":46,"logo":24,"year":47,"kind":24,"note":48,"paradigms":49,"typing":24},"CakeML","\u002Flanguages\u002Fcakeml",2014,"CakeML: a functional language based on a substantial subset of Standard ML, defined by a formal semantics in higher-order logic and shipped with an end-to-end verified compiler that has been bootstrapped — the compiler compiles itself and the resulting binary provably implements it.",[40],{"name":51,"path":52,"logo":24,"year":53,"kind":54,"note":55,"paradigms":56,"typing":57},"MicroHs","\u002Flanguages\u002Fmicrohs",2023,"dialect","Lennart Augustsson's Haskell compiler: an extended subset of Haskell 2010 translated to SKI combinators and reduced by a small C runtime, so a C compiler is the only build requirement and the whole system fits on a micro-controller.",[40],"static",{"name":59,"path":60,"logo":24,"year":53,"kind":36,"note":61,"paradigms":62,"typing":24},"SudoLang","\u002Flanguages\u002Fsudolang","Pseudolanguage whose runtime is the model: typed interfaces, English constraints, and a pipe operator make a prompt read as a program, while most functions are inferred rather than written.",[63],"declarative",{"name":65,"path":66,"logo":24,"year":67,"kind":36,"note":68,"paradigms":69,"typing":57},"Bend","\u002Flanguages\u002Fbend",2024,"Pure, affine, dependency-typed: Bend compiles to native CPU and GPU code, and its checker proves the laws stated beside the code, so a program and its correctness proof live in one file.",[70,71,40,72],"concurrent","effect","parallel",{"name":74,"path":75,"logo":76,"year":67,"kind":36,"note":77,"paradigms":78,"typing":57},"Vine","\u002Flanguages\u002Fvine","\u002Flogos\u002Fvine.svg","A Rust-influenced, statically typed language that compiles to interaction nets and runs on its own graph-reduction runtime, so parallelism falls out of the evaluation model and the inverse type sends values backwards.",[40,41,72],{"name":80,"path":81,"logo":82,"year":83,"kind":36,"note":84,"paradigms":85,"typing":57},"Osprey","\u002Flanguages\u002Fosprey","\u002Flogos\u002Fosprey.png",2025,"A functional language where failure is a `Result` value and outside work is a checked algebraic effect: the program's edge installs the handlers, so production code and its test doubles are the same code. It compiles through LLVM.",[70,71,40,86],"modular",{"name":88,"path":89,"logo":24,"year":83,"kind":36,"note":90,"paradigms":91,"typing":57},"Zap","\u002Flanguages\u002Fzap","Early-stage functional language compiling to native code through Zig's ZIR pipeline; struct-centered organization, protocols, compile-time macros, and an optional BEAM-style concurrency runtime",[70,40],{"name":93,"path":94,"logo":24,"year":95,"kind":36,"note":96,"paradigms":97,"typing":99},"Glam","\u002Flanguages\u002Fglam",2026,"A high-level language for composing assembly-level software: an untyped, lazy lambda calculus whose modules are mixins, whose assembly steps are effects, and whose builds are reproducible.",[71,40,86,98],"object-oriented","untyped",{"name":101,"path":102,"logo":24,"year":95,"kind":36,"note":103,"paradigms":104,"typing":24},"Lion","\u002Flanguages\u002Flion","A homoiconic Lisp whose every program is valid JSON, evaluated on Effect, with a Datalog-style logic database and runtime schemas in the same syntax.",[71,40,105],"logic",{"name":107,"path":108,"logo":24,"year":95,"kind":36,"note":109,"paradigms":110,"typing":57},"Mk","\u002Flanguages\u002Fmk","A small systems language compiled through LLVM: ownership, borrowing and linear values checked from signatures, arenas as the default allocator, and structured tasks.",[41,111],"systems",[113,116,119,122,125,126,129],{"name":114,"path":115},"Closures","\u002Ffeatures\u002Fclosures",{"name":117,"path":118},"First-class functions","\u002Ffeatures\u002Ffirst-class-functions",{"name":120,"path":121},"Modules","\u002Ffeatures\u002Fmodules",{"name":123,"path":124},"Music-oriented","\u002Ffeatures\u002Fmusic-oriented",{"name":5,"path":27},{"name":127,"path":128},"Prototypes","\u002Ffeatures\u002Fprototypes",{"name":130,"path":131},"Regular expressions","\u002Ffeatures\u002Fregex",1795219071952]