summary refs log tree commit diff stats
path: root/INSTALL
Commit message (Collapse)AuthorAgeFilesLines
* INSTALL: fixed suggested uninstall-commandhut2010-06-181-1/+1
|
* INSTALL: changed logname from uninstall_info to install_log.txthut2010-06-181-3/+3
|
* Removed built-in support for uninstalling.hut2010-06-181-8/+6
| | | | | | Since distutils (setup.py) is used and distutils doesn't support uninstalling, I shouldn't implement my own half-assed, potentially dangerous uninstall script either.
* Rewrote INSTALL and "make (un)install"hut2010-06-181-34/+14
|
* Changed hashbang line to "#!/usr/bin/env python"hut2010-06-091-1/+1
|
* clean uphut2010-03-311-10/+0
|
* more documentationhut2010-03-121-3/+19
|
* misc changes, make installhut2010-03-121-3/+12
|
* working on the configuration system / main methodhut2010-03-121-1/+1
|
* stuffhut2010-01-251-1/+1
|
* added install instructionshut2010-01-141-0/+30
rty */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<!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 - 063list.mu</title>
<meta name="Generator" content="Vim/7.4">
<meta name="plugin-version" content="vim7.4_v1">
<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-family: monospace; color: #eeeeee; background-color: #080808; }
* { font-size: 1.05em; }
.muRecipe { color: #ff8700; }
.muScenario { color: #00af00; }
.Comment { color: #9090ff; }
.Constant { color: #00a0a0; }
.Special { color: #ff6060; }
.CommentedCode { color: #6c6c6c; }
.muControl { color: #c0a020; }
-->
</style>

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

-->
</script>
</head>
<body>
<pre id='vimCodeElement'>
<span class="Comment"># A list links up multiple objects together to make them easier to manage.</span>
<span class="Comment">#</span>
<span class="Comment"># Try to make all objects in a single list of the same type, it'll help avoid bugs.</span>
<span class="Comment"># If you want to store multiple types in a single list, use an exclusive-container.</span>

container list [
  value:location
  next:address:list
]

<span class="Comment"># result:address:list &lt;- push x:location, in:address:list</span>
<span class="muRecipe">recipe</span> push [
  <span class="Constant">local-scope</span>
  x:location<span class="Special"> &lt;- </span><span class="Constant">next-ingredient</span>
  in:address:list<span class="Special"> &lt;- </span><span class="Constant">next-ingredient</span>
  result:address:list<span class="Special"> &lt;- </span>new <span class="Constant">list:type</span>
  val:address:location<span class="Special"> &lt;- </span>get-address *result, <span class="Constant">value:offset</span>
  *val<span class="Special"> &lt;- </span>copy x
  next:address:address:list<span class="Special"> &lt;- </span>get-address *result, <span class="Constant">next:offset</span>
  *next<span class="Special"> &lt;- </span>copy in
  <span class="muControl">reply</span> result
]

<span class="Comment"># result:location &lt;- first in:address:list</span>
<span class="muRecipe">recipe</span> first [
  <span class="Constant">local-scope</span>
  in:address:list<span class="Special"> &lt;- </span><span class="Constant">next-ingredient</span>
  result:location<span class="Special"> &lt;- </span>get *in, <span class="Constant">value:offset</span>
  <span class="muControl">reply</span> result
]

<span class="Comment"># result:address:list &lt;- rest in:address:list</span>
<span class="muRecipe">recipe</span> rest [
  <span class="Constant">local-scope</span>
  in:address:list<span class="Special"> &lt;- </span><span class="Constant">next-ingredient</span>
  result:address:list<span class="Special"> &lt;- </span>get *in, <span class="Constant">next:offset</span>
  <span class="muControl">reply</span> result
]

<span class="muScenario">scenario</span> list-handling [
  run [
<span class="CommentedCode">#?     $start-tracing #? 1</span>
    <span class="Constant">1</span>:address:list<span class="Special"> &lt;- </span>copy <span class="Constant">0</span>
    <span class="Constant">1</span>:address:list<span class="Special"> &lt;- </span>push <span class="Constant">3</span>, <span class="Constant">1</span>:address:list
    <span class="Constant">1</span>:address:list<span class="Special"> &lt;- </span>push <span class="Constant">4</span>, <span class="Constant">1</span>:address:list
    <span class="Constant">1</span>:address:list<span class="Special"> &lt;- </span>push <span class="Constant">5</span>, <span class="Constant">1</span>:address:list
    <span class="Constant">2</span>:number<span class="Special"> &lt;- </span>first <span class="Constant">1</span>:address:list
    <span class="Constant">1</span>:address:list<span class="Special"> &lt;- </span>rest <span class="Constant">1</span>:address:list
    <span class="Constant">3</span>:number<span class="Special"> &lt;- </span>first <span class="Constant">1</span>:address:list
    <span class="Constant">1</span>:address:list<span class="Special"> &lt;- </span>rest <span class="Constant">1</span>:address:list
    <span class="Constant">4</span>:number<span class="Special"> &lt;- </span>first <span class="Constant">1</span>:address:list
    <span class="Constant">1</span>:address:list<span class="Special"> &lt;- </span>rest <span class="Constant">1</span>:address:list
  ]
  memory-should-contain [
    <span class="Constant">1</span><span class="Special"> &lt;- </span><span class="Constant">0</span>  <span class="Comment"># empty to empty, dust to dust..</span>
    <span class="Constant">2</span><span class="Special"> &lt;- </span><span class="Constant">5</span>
    <span class="Constant">3</span><span class="Special"> &lt;- </span><span class="Constant">4</span>
    <span class="Constant">4</span><span class="Special"> &lt;- </span><span class="Constant">3</span>
  ]
]
</pre>
</body>
</html>
<!-- vim: set foldmethod=manual : -->