all repos — h3rald @ 39615b86f2093ef869e5503946fdaf0246fdff5c

The sources of

Released min 0.18.0.
Sun, 08 Jul 2018 14:22:00 +0200




2 files changed, 15 insertions(+), 7 deletions(-)

jump to
M assets/min/Min_DeveloperGuide.htmassets/min/Min_DeveloperGuide.htm

@@ -5438,6 +5438,7 @@ </ul>

</li> <li><a href="#Running-then-min-Shell">Running then min Shell</a></li> <li><a href="#Executing-a-min-Program">Executing a min Program</a></li> + <li><a href="#Development-Mode">Development Mode</a></li> <li><a href="#Syntax-Highlighting">Syntax Highlighting</a></li> </ul> </li>

@@ -5573,11 +5574,11 @@

<p>You can download one of the following pre-built min binaries:</p> <ul> -<li><a href="">min v0.17.0 for macOS (x64)</a></li> -<li><a href="">min v0.17.0 for Windows (x64)</a></li> -<li><a href="">min v0.17.0 for Linux (x64)</a></li> -<li><a href="">min v0.17.0 for Linux (x86)</a></li> -<li><a href="">min v0.17.0 for Linux (arm)</a></li> +<li><a href="">min v0.18.0 for macOS (x64)</a></li> +<li><a href="">min v0.18.0 for Windows (x64)</a></li> +<li><a href="">min v0.18.0 for Linux (x64)</a></li> +<li><a href="">min v0.18.0 for Linux (x86)</a></li> +<li><a href="">min v0.18.0 for Linux (arm)</a></li> </ul>

@@ -5653,6 +5654,13 @@

<p>min also supports running programs from standard input, so the following command can also be used (on Unix-like system) to run a program saved in <span class="file">myfile.min</span>:</p> <div class="min-terminal"><p><span class="prompt">$</span> cat myfile.min | min</p></div> + +<a name="Development-Mode"></a> +<h3>Development Mode<a href="#document-top" title="Go to top"></a></h3> + +<p>By default, when you execute a min program it is run in <em>production mode</em> meaning that some of the runtime checks and validation on the stack items expected by quotations are <em>not</em> performed, essentially to speed up execution a little bit. By contrast, when executing min code from the min shell, it will be executed in <em>development mode</em>, with all runtime checks and validations enabled.</p> + +<p>To enable development mode when executing a program, run min specifying the <strong>-d</strong> or <strong>&ndash;dev</strong> flag.</p> <a name="Syntax-Highlighting"></a> <h3>Syntax Highlighting<a href="#document-top" title="Go to top"></a></h3>

@@ -9316,7 +9324,7 @@

<p>Stops the currently-running HTTP server. This operator should be used within an HTTP server handler quotation.</p></div> </div> <div id="footer"> - <p><span class="copy"></span> Fabio Cevasco &ndash; June 3, 2018</p> + <p><span class="copy"></span> Fabio Cevasco &ndash; July 8, 2018</p> <p><span>Powered by</span> <a href=""><span class="hastyscribe"></span></a></p> </div> </div>
M contents/min.mdcontents/

@@ -9,7 +9,7 @@ summary: "A functional, concatenative programming language with a minimalist syntax, a small but practical standard library, and an advanced REPL. All packed in about 1MB."

content-type: project active: true download: "" -version: 0.17.0 +version: 0.18.0 docs: /min/Min_DeveloperGuide.htm -----