about summary refs log tree commit diff stats
Commit message (Expand)AuthorAgeFilesLines
* 1291Kartik K. Agaram2015-05-0648-53/+52
* 1290Kartik K. Agaram2015-05-061-5/+4
* 1289Kartik K. Agaram2015-05-062-0/+57
* 1288Kartik K. Agaram2015-05-061-0/+0
* 1287Kartik K. Agaram2015-05-061-1/+2
* 1286Kartik K. Agaram2015-05-061-4/+4
* 1285Kartik K. Agaram2015-05-061-1/+1
* 1284Kartik K. Agaram2015-05-061-0/+11
* 1283Kartik K. Agaram2015-05-061-5/+5
* 1282Kartik K. Agaram2015-05-061-1/+1
* 1281Kartik K. Agaram2015-05-061-0/+2
* 1280 - index.html for github pageKartik K. Agaram2015-05-061-0/+71
* 1279 - colorized rendering of the source filesKartik K. Agaram2015-05-0647-0/+9125
* 1278 - support before/after tangle directivesKartik K. Agaram2015-05-054-31/+254
* 1277Kartik K. Agaram2015-05-051-0/+18
* 1276 - make C++ version the defaultKartik K. Agaram2015-05-05568-23345/+1989414
* 1275Kartik K. Agaram2015-05-051-21/+18
* 1274Kartik K. Agaram2015-05-051-7/+7
* 1273 - fix display.mu example programKartik K. Agaram2015-05-051-1/+10
* 1272Kartik K. Agaram2015-05-053-14/+19
* 1271 - producer/consumer example now worksKartik K. Agaram2015-05-051-0/+43
* 1270 - we can now pass ingredients to routines as we start themKartik K. Agaram2015-05-054-5/+47
* 1269 - 'wait-for-routine'Kartik K. Agaram2015-05-0563-324/+423
* 1268Kartik K. Agaram2015-05-052-1/+2
* 1267 - 'routine-state' can use the provided routine idKartik K. Agaram2015-05-0563-322/+396
* 1266 - 'start-running' returns a unique routine idKartik K. Agaram2015-05-052-1/+55
* 1265Kartik K. Agaram2015-05-0520-110/+110
* 1264Kartik K. Agaram2015-05-053-8/+8
* 1263Kartik K. Agaram2015-05-051-0/+3
* 1262Kartik K. Agaram2015-05-051-2/+2
* 1261Kartik K. Agaram2015-05-044-7/+7
* 1260Kartik K. Agaram2015-05-041-1/+1
* 1259 - better failure messages for mu scenariosKartik K. Agaram2015-05-041-2/+12
* 1258Kartik K. Agaram2015-05-041-0/+3
* 1257Kartik K. Agaram2015-05-042-4/+5
* 1256 - scenarios now support keyboardKartik K. Agaram2015-05-045-0/+1061
* 1255 - keyboard supportKartik K. Agaram2015-05-046-5/+47
* 1254Kartik K. Agaram2015-05-042-3/+6
* 1253 - new notion of 'predefined globals in scenarios'Kartik K. Agaram2015-05-047-37/+56
* 1252 - big-picture memory layoutKartik K. Agaram2015-05-042-1/+16
* 1251 - cleanup flow of 'scenario' implementationKartik K. Agaram2015-05-042-357/+375
* 1250Kartik K. Agaram2015-05-043-0/+2287
* 1249 - new type: index_tKartik K. Agaram2015-05-0427-104/+105
* 1248 - syntax for using screens in scenariosKartik K. Agaram2015-05-0421-36/+1953
* 1247Kartik K. Agaram2015-05-0381-992/+1002
* 1246Kartik K. Agaram2015-05-03140-2255/+2255
* 1245Kartik K. Agaram2015-05-032-2/+2
* 1244Kartik K. Agaram2015-05-0342-178/+173
* 1243Kartik K. Agaram2015-05-031-1/+1
* 1242 - simpler implementation for 'scenario'Kartik K. Agaram2015-05-0254-1042/+2227
creen_test.mu.html?h=main&id=672e3e50c6ed6de161e40aa256c3fc0f2b1f7cf9'>672e3e50 ^
f344b250 ^
672e3e50 ^
f344b250 ^
65361948 ^

f5465e12 ^


65361948 ^

672e3e50 ^


a654e4ec ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67



                                                                                          
                                              

                                                
                                   

                                                                                         

                       
                                                                                                 
                                                                                            
                                      
                               
                            

                             

        





                               

       
                         

                                                                                                         

                                                                                             
       
                                             

                                                                                       

                         

                                       

   
 

                                                                                             
       
                                             
                                                    

                                                                                       
                                                               
                                                                                                                                                                       
                                             
                                                                                         

                         


                                         

   


       
                                     
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Mu - 083scenario_screen_test.mu</title>
<meta name="Generator" content="Vim/7.4">
<meta name="plugin-version" content="vim7.4_v2">
<meta name="syntax" content="none">
<meta name="settings" content="use_css,pre_wrap,no_foldcolumn,expand_tabs,prevent_copy=">
<meta name="colorscheme" content="minimal">
<style type="text/css">
<!--
pre { white-space: pre-wrap; font-family: monospace; color: #eeeeee; background-color: #080808; }
body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color: #080808; }
* { font-size: 12pt; font-size: 1em; }
.muScenario { color: #00af00; }
.Comment { color: #9090ff; }
.Constant { color: #00a0a0; }
.Special { color: #c00000; }
-->
</style>

<script type='text/javascript'>
<!--

-->
</script>
</head>
<body>
<pre id='vimCodeElement'>
<span class="Comment"># To check our support for screens in scenarios, rewrite tests from print.mu</span>

<span class="muScenario">scenario</span> print-character-at-top-left-2 [
  assume-screen <span class="Constant">3/width</span>, <span class="Constant">2/height</span>
  run [
    <span class="Constant">local-scope</span>
    a:char<span class="Special"> &lt;- </span>copy <span class="Constant">97/a</span>
    screen:&amp;:screen<span class="Special"> &lt;- </span>print screen:&amp;:screen, a
  ]
  screen-should-contain [
   <span class="Constant"> .a  .</span>
   <span class="Constant"> .   .</span>
  ]
]

<span class="muScenario">scenario</span> clear-line-erases-printed-characters-2 [
  assume-screen <span class="Constant">5/width</span>, <span class="Constant">3/height</span>
  run [
    <span class="Constant">local-scope</span>
    <span class="Comment"># print a character</span>
    a:char<span class="Special"> &lt;- </span>copy <span class="Constant">97/a</span>
    screen:&amp;:screen<span class="Special"> &lt;- </span>print screen:&amp;:screen, a
    <span class="Comment"># move cursor to start of line</span>
    screen:&amp;:screen<span class="Special"> &lt;- </span>move-cursor screen:&amp;:screen, <span class="Constant">0/row</span>, <span class="Constant">0/column</span>
    <span class="Comment"># clear line</span>
    screen:&amp;:screen<span class="Special"> &lt;- </span>clear-line screen:&amp;:screen
  ]
  screen-should-contain [
   <span class="Constant"> .     .</span>
   <span class="Constant"> .     .</span>
   <span class="Constant"> .     .</span>
  ]
]
</pre>
</body>
</html>
<!-- vim: set foldmethod=manual : -->