https://github.com/akkartik/mu/blob/main/linux/apps/ex1.mu

     1 # First example: return the answer to the Ultimate Question of Life, the
     2 # Universe, and Everything.
     3 #
     4 # Same as https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html
     5 #
     6 # To run:
     7 #   $ ./translate apps/ex1.mu
     8 #   $ ./a.elf
     9 # Expected result:
    10 #   $ echo $?
    11 #   42
    12
    13 fn main -> _/ebx: int {
    14   return 0x2a  # Mu requires hexadecimal
    15 }