Languages Features Creators Calendar CSV Resources Blog About Pricing Add Language
GitHub icon


Mu - Programming language

< >

Mu is a programming language created in 2014 by Kartik K. Agaram.

#646on PLDB 9Years Old 1.4kUsers
0Books 0Papers

Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.

Example from the web:
# dump stack from bottom to top fn emit-stack-from-bottom _self: (addr grapheme-stack), out: (addr stream byte) { var self/esi: (addr grapheme-stack) <- copy _self var data-ah/edi: (addr handle array code-point-utf8) <- get self, data var _data/eax: (addr array code-point-utf8) <- lookup *data-ah var data/edi: (addr array code-point-utf8) <- copy _data var top-addr/ecx: (addr int) <- get self, top var i/eax: int <- copy 0 { compare i, *top-addr break-if->= var g/edx: (addr code-point-utf8) <- index data, i write-code-point-utf8 out, *g i <- increment loop } }

Language features

Feature Supported Token Example
# A comment
Line Comments #
# A comment
Semantic Indentation X
ibm-gml.html · mu.html · jsf.html

View source

- Build the next great programming language · Search · v2023 · Day 208 · Docs · Acknowledgements · Traffic · Traffic Today · Mirrors · GitHub ·