about summary refs log tree commit diff stats
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
0 files changed, 0 insertions, 0 deletions
3 -0800 7154' href='/akkartik/mu/commit/apps/ex1.mu?h=main&id=17623a628aee2429a5a8d8b65bd84235f6be0e3f'>17623a62 ^
8bbafb13 ^
1
2
3
4
5
6
7
8
9
10
11
12
13



                                                                        
                        




                  

                                        
 
# First example: return the answer to the Ultimate Question of Life, the
# Universe, and Everything.
#
# To run:
#   $ ./translate ex1.mu
#   $ ./a.elf
# Expected result:
#   $ echo $?
#   42

fn main -> _/ebx: int {
  return 0x2a  # Mu requires hexadecimal
}