about summary refs log tree commit diff stats
path: root/mu.vim
Commit message (Expand)AuthorAgeFilesLines
* 2838Kartik K. Agaram2016-04-161-1/+1
* 2735 - define recipes using 'def'Kartik K. Agaram2016-03-081-2/+2
* 2562Kartik K. Agaram2016-01-171-1/+0
* 2367Kartik K. Agaram2015-11-051-1/+1
* 2306 - recipe headersKartik K. Agaram2015-10-281-0/+1
* 2295 - drop first-class recipes and continuationsKartik K. Agaram2015-10-281-1/+0
* 2294Kartik K. Agaram2015-10-281-0/+1
* 2266 - drop experiment with genericsKartik K. Agaram2015-10-071-1/+1
* 2252Kartik K. Agaram2015-10-051-1/+1
* 2174Kartik K. Agaram2015-09-061-1/+2
* 2153Kartik K. Agaram2015-09-051-1/+1
* 2139Kartik K. Agaram2015-09-041-0/+1
* 2080Kartik K. Agaram2015-08-261-0/+1
* 2059Kartik K. Agaram2015-08-221-1/+1
* 1960Kartik K. Agaram2015-08-091-2/+2
* 1903Kartik K. Agaram2015-07-301-0/+5
* 1868 - start using naked literals everywhereKartik K. Agaram2015-07-281-0/+2
* 1780 - now we always reclaim local scopesKartik K. Agaram2015-07-131-1/+1
* 1774Kartik K. Agaram2015-07-131-1/+1
* 1771Kartik K. Agaram2015-07-131-1/+2
* 1646Kartik K. Agaram2015-06-251-1/+1
* 1555 - mu.vim: distinguish control-flow from constantsKartik K. Agaram2015-06-121-5/+7
* 1506Kartik K. Agaram2015-05-281-1/+1
* 1432 - contrast scenarios and recipesKartik K. Agaram2015-05-231-2/+3
* 1410Kartik K. Agaram2015-05-201-1/+2
* 1378Kartik K. Agaram2015-05-151-0/+1
* 1333Kartik K. Agaram2015-05-101-3/+11
* 1331Kartik K. Agaram2015-05-101-2/+4
* 1327 - better error handling in chessboardKartik K. Agaram2015-05-101-1/+1
* vim highlighting for labelsKartik K. Agaram2015-04-181-1/+2
* 1093 - little more vim support for the old arc versionKartik K. Agaram2015-04-171-0/+2
* 1048Kartik K. Agaram2015-04-111-5/+5
* 1025 - switch syntax highlighting to support c++ versionKartik K. Agaram2015-04-061-6/+5
* 561 - vim hackKartik K. Agaram2015-01-131-4/+7
* 548 - hacky vim filetype for muKartik K. Agaram2015-01-131-0/+37
pan class="p">} * { font-size:12pt; font-size: 1em; } .PreProc { color: #c000c0; } .LineNr { } .Delimiter { color: #c000c0; } .Constant { color: #008787; } .muFunction { color: #af5f00; text-decoration: underline; } .muComment { color: #005faf; } --> </style> <script type='text/javascript'> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ function JumpToLine() { var lineNum; lineNum = window.location.hash; lineNum = lineNum.substr(1); /* strip off '#' */ if (lineNum.indexOf('L') == -1) { lineNum = 'L'+lineNum; } var lineElem = document.getElementById(lineNum); /* Always jump to new location even if the line was hidden inside a fold, or * we corrected the raw number to a line ID. */ if (lineElem) { lineElem.scrollIntoView(true); } return true; } if ('onhashchange' in window) { window.onhashchange = JumpToLine; } --> </script> </head> <body onload='JumpToLine();'> <a href='https://github.com/akkartik/mu/blob/main/linux/hello.mu'>https://github.com/akkartik/mu/blob/main/linux/hello.mu</a> <pre id='vimCodeElement'> <span id="L1" class="LineNr"> 1 </span><span class="muComment"># Meaningless conventional example.</span> <span id="L2" class="LineNr"> 2 </span><span class="muComment">#</span> <span id="L3" class="LineNr"> 3 </span><span class="muComment"># To run:</span> <span id="L4" class="LineNr"> 4 </span><span class="muComment"># $ ./translate hello.mu</span> <span id="L5" class="LineNr"> 5 </span><span class="muComment"># $ ./a.elf</span> <span id="L6" class="LineNr"> 6 </span> <span id="L7" class="LineNr"> 7 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='hello.mu.html#L7'>main</a></span><span class="PreProc"> -&gt; </span>_/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span> <span id="L8" class="LineNr"> 8 </span> <a href='405screen.mu.html#L169'>print-string</a> <span class="Constant">0</span>/screen, <span class="Constant">&quot;Hello world!\n&quot;</span> <span id="L9" class="LineNr"> 9 </span> <span class="PreProc">return</span> <span class="Constant">0</span> <span id="L10" class="LineNr">10 </span><span class="Delimiter">}</span> </pre> </body> </html> <!-- vim: set foldmethod=manual : -->