diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2014-08-18 10:23:24 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2014-08-18 10:23:24 -0700 |
commit | 4a0b335c28933cbec7215b04e4f7558f833257f4 (patch) | |
tree | 0e23a1da7f3b2e30a03812c510731bae680dcdd5 /x.mu | |
parent | ab8619a14845aad71ef5193bcc91461a1fa530bd (diff) | |
download | mu-4a0b335c28933cbec7215b04e4f7558f833257f4.tar.gz |
49 - make Readme less ambiguous
As expected, mu works just as well with named variables. Maybe I want to insert the local stack frame computations automatically using the assembler? How to indicate globals then? Add 'local' metadata only if 'global' is absent? What about lexical stack frames?
Diffstat (limited to 'x.mu')
-rw-r--r-- | x.mu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x.mu b/x.mu index 78a51159..7341c5d2 100644 --- a/x.mu +++ b/x.mu @@ -1,5 +1,5 @@ (main - ((1 integer) <- literal 1) - ((2 integer) <- literal 3) - ((3 integer) <- add (1 integer) (2 integer)) + ((x integer) <- literal 1) + ((y integer) <- literal 3) + ((z integer) <- add (x integer) (y integer)) ) |