# Mu - linux/ex1.mu

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

     1 # First example: return the answer to the Ultimate Question of Life, the
     2 # Universe, and Everything.
     3 #
     4 # To run:
     5 #   $ ./translate ex1.mu
     6 #   $ ./a.elf
     7 # Expected result:
     8 #   $ echo $?
     9 #   42
    10
    11 fn main -> _/ebx: int {
    12   return 0x2a  # Mu requires hexadecimal
    13 }