summary refs log tree commit diff stats
path: root/doc/ranger.pod
Commit message (Expand)AuthorAgeFilesLines
* Added $RANGER_LEVEL environment variable (see man page)hut2012-03-051-0/+13
* Removed unnecessary spaceshut2012-03-051-1/+1
* ranger.1: fix vim script "RangerChooser" when no file is openedhut2012-02-211-1/+1
* ranger.1: Added entry for --list-tagged-fileshut2012-02-121-0/+5
* core.main: Allow multiple --cmd's, add man page entry for --cmdhut2012-02-121-0/+5
* new :relink commandM Rawash2012-01-271-0/+4
* Added doc for TERMCMD and integrated it in commands.pyhut2012-01-181-0/+7
* Added documentation for new flagsM Rawash2011-12-111-0/+5
* core.main: added --selectfile optionDavid Pugnasse2011-10-241-0/+4
* core.actions: added --choosefiles option + dochut2011-10-211-1/+7
* fixed some documentationhut2011-10-101-3/+4
* Revert "ranger.1: added doc for --dont-copy-config"hut2011-10-091-3/+4
* ranger.__init__, ranger.1: updated rangers descriptionhut2011-10-081-3/+3
* Updated man pagehut2011-10-081-12/+6
* ranger.1: added doc for --dont-copy-confighut2011-10-081-4/+3
* Write "ranger" with a lowercase "r"hut2011-10-081-2/+2
* updated manpage and config_examples/rc.confhut2011-10-081-0/+3
* general updateshut2011-10-081-4/+9
* manpage: updatehut2011-10-051-17/+18
* defaults/commands: added cunmap, punmap, tunmaphut2011-10-051-0/+38
* doc/ranger.1: updated manpagehut2011-10-011-28/+53
* Extended rc.confhut2011-09-301-2/+3
* doc/ranger.1: added missing documentationhut2011-09-291-8/+135
* core.main: added --list-unused-keys optionhut2011-09-291-0/+6
* another correction of the bash wrapper scriptshut2011-09-281-1/+2
* sanitized bash wrapper scripts, reformulated BUGS section in manualhut2011-09-281-7/+6
* improved bash wrappers in ranger.py and man pagehut2011-09-281-9/+11
* documented and improved DaPangus' changeshut2011-09-251-3/+2
* extended manpage and fixed {load,save}_copy_buffer commandshut2011-09-251-21/+27
* defaults.commands.py: added :bulkrename command from wikihut2011-09-251-0/+9
* doc/ranger.pod: extended the man pagehut2011-09-241-58/+461
* Overhauled manpage. It's in POD format now.hut2011-09-241-0/+414
bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .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 */
(function factorial [
  (default-space:space-address <- new space:literal 30:literal)
  (n:integer <- next-input)
  { begin
    ; if n=0 return 1
    (zero?:boolean <- equal n:integer 0:literal)
    (break-unless zero?:boolean)
    (reply 1:literal)
  }
  ; return n*factorial(n-1)
  (x:integer <- subtract n:integer 1:literal)
  (subresult:integer <- factorial x:integer)
  (result:integer <- multiply subresult:integer n:integer)
  (reply result:integer)
])

(function main [
  (1:integer <- factorial 5:literal)
  ($print (("result: " literal)))
  (print-integer nil:literal/terminal 1:integer)
  ($print (("\n" literal)))
])