niminst.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <!-- This file is generated by Nim. -->
  4. <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en" data-theme="auto">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <title>niminst User's manual</title>
  9. <!-- Google fonts -->
  10. <link href='https://fonts.googleapis.com/css?family=Lato:400,600,900' rel='stylesheet' type='text/css'/>
  11. <link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
  12. <!-- Favicon -->
  13. <link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="/>
  14. <link rel="icon" type="image/png" sizes="32x32" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4QQQEwksSS9ZWwAAAk1JREFUWMPtll2ITVEUx39nn/O7Y5qR8f05wtCUUr6ZIS++8pEnkZInPImneaCQ5METNdOkeFBKUhMPRIkHKfEuUZSUlGlKPN2TrgfncpvmnntnmlEyq1Z7t89/rf9a6+y99oZxGZf/XeIq61EdtgKXgdXA0xrYAvBjOIF1AI9zvjcC74BSpndrJPkBWDScTF8Aa4E3wDlgHbASaANmVqlcCnwHvgDvgVfAJ+AikAAvgfVZwLnSVZHZaOuKoQi3ZOMi4NkYkpe1p4J7A8BpYAD49hfIy/oqG0+hLomiKP2L5L+1ubn5115S+3OAn4EnwBlgMzCjyt6ZAnQCJ4A7wOs88iRJHvw50HoujuPBoCKwHWiosy8MdfZnAdcHk8dxXFJ3VQbQlCTJvRBCGdRbD4M6uc5glpY3eAihpN5S5w12diSEcCCEcKUO4ljdr15T76ur1FDDLIQQ3qv71EdDOe3Kxj3leRXyk+pxdWnFWod6Wt2bY3de3aSuUHcPBVimHs7mK9WrmeOF6lR1o9qnzskh2ar2qm1qizpfXaPeVGdlmGN5pb09qMxz1Xb1kLqgzn1RyH7JUXW52lr5e/Kqi9qpto7V1atuUzfnARrV7jEib1T76gG2qxdGmXyiekkt1GswPTtek0aBfJp6YySGBfWg2tPQ0FAYgf1stUfdmdcjarbYJEniKIq6gY/Aw+zWHAC+p2labGpqiorFYgGYCEzN7oQdQClN07O1/EfDyGgC0ALMBdYAi4FyK+4H3gLPsxfR1zRNi+NP7nH5J+QntnXe5B5mpfQAAAAASUVORK5CYII=">
  15. <!-- CSS -->
  16. <link rel="stylesheet" type="text/css" href="nimdoc.out.css?v=2.3.1">
  17. <!-- JS -->
  18. <script type="text/javascript" src="dochack.js?v=2.3.1"></script>
  19. </head>
  20. <body>
  21. <div class="document" id="documentId">
  22. <div class="container">
  23. <h1 class="title">niminst User's manual</h1>
  24. <div class="row">
  25. <div class="three columns">
  26. <div class="theme-select-wrapper">
  27. <label for="theme-select">Theme:&nbsp;</label>
  28. <select id="theme-select" onchange="setTheme(this.value)">
  29. <option value="auto">🌗 Match OS</option>
  30. <option value="dark">🌑 Dark</option>
  31. <option value="light">🌕 Light</option>
  32. </select>
  33. </div>
  34. <div id="global-links">
  35. <ul class="simple-boot">
  36. <li><a href="manual.html">Manual</a></li>
  37. <li><a href="lib.html">Standard library</a></li>
  38. <li> <a id="indexLink" href="theindex.html">Index</a></li>
  39. <li><a href="compiler/theindex.html">Compiler docs</a></li>
  40. <li><a href="https://nim-lang.github.io/fusion/theindex.html">Fusion docs</a></li>
  41. <li><a href="https://nim-lang.github.io/Nim/">devel</a>, <a href="https://nim-lang.org/documentation.html">stable</a></li>
  42. </ul>
  43. </div>
  44. <div id="searchInputDiv">
  45. Search: <input type="search" id="searchInput"
  46. oninput="search()" />
  47. </div>
  48. <div class="search-groupby">
  49. Group by:
  50. <select onchange="groupBy(this.value)">
  51. <option value="section">Section</option>
  52. <option value="type">Type</option>
  53. </select>
  54. </div>
  55. <ul class="simple simple-toc" id="toc-list">
  56. <li><a class="reference" id="introduction_toc" href="#introduction">Introduction</a></li>
  57. <li><a class="reference" id="configuration-file_toc" href="#configuration-file">Configuration file</a></li>
  58. <ul class="simple"><li><a class="reference" id="configuration-file-project-section_toc" href="#configuration-file-project-section">Project section</a></li>
  59. <li><a class="reference" id="configuration-file-nimfiles-key_toc" href="#configuration-file-nimfiles-key"><tt class="docutils literal"><span class="pre"><span class="Identifier">files</span></span></tt> key</a></li>
  60. <li><a class="reference" id="configuration-file-config-section_toc" href="#configuration-file-config-section">Config section</a></li>
  61. <li><a class="reference" id="configuration-file-documentation-section_toc" href="#configuration-file-documentation-section">Documentation section</a></li>
  62. <li><a class="reference" id="configuration-file-other-section_toc" href="#configuration-file-other-section">Other section</a></li>
  63. <li><a class="reference" id="configuration-file-lib-section_toc" href="#configuration-file-lib-section">Lib section</a></li>
  64. <li><a class="reference" id="configuration-file-windows-section_toc" href="#configuration-file-windows-section">Windows section</a></li>
  65. <li><a class="reference" id="configuration-file-unixbin-section_toc" href="#configuration-file-unixbin-section">UnixBin section</a></li>
  66. <li><a class="reference" id="configuration-file-unix-section_toc" href="#configuration-file-unix-section">Unix section</a></li>
  67. <li><a class="reference" id="configuration-file-innosetup-section_toc" href="#configuration-file-innosetup-section">InnoSetup section</a></li>
  68. <li><a class="reference" id="configuration-file-c-compiler-section_toc" href="#configuration-file-c-compiler-section">C_Compiler section</a></li>
  69. </ul><li><a class="reference" id="realminusworld-example_toc" href="#realminusworld-example">Real-world example</a></li>
  70. </ul>
  71. </div>
  72. <div class="nine columns" id="content">
  73. <a href="https://github.com/nim-lang/Nim/tree/devel/doc/niminst.md#L1" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
  74. <a href="https://github.com/nim-lang/Nim/edit/devel/doc/niminst.md#L1" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
  75. <div id="tocRoot"></div>
  76. <p class="module-desc"><table class="docinfo" frame="void" rules="none"><col class="docinfo-name" /><col class="docinfo-content" /><tbody valign="top"><tr><th class="docinfo-name">Author:</th><td>Andreas Rumpf</td></tr>
  77. <tr><th class="docinfo-name">Version:</th><td>2.3.1</td></tr>
  78. </tbody></table>
  79. <h1><a class="toc-backref" id="introduction" href="#introduction">Introduction</a></h1><p>niminst is a tool to generate an installer for a Nim program. Currently it can create an installer for Windows via <a class="reference external" href="https://www.jrsoftware.org/isinfo.php">Inno Setup</a> as well as installation/deinstallation scripts for UNIX. Later versions will support Linux' package management systems.</p>
  80. <p>niminst works by reading a configuration file that contains all the information that it needs to generate an installer for the different operating systems.</p>
  81. <h1><a class="toc-backref" id="configuration-file" href="#configuration-file">Configuration file</a></h1><p>niminst uses the Nim <a class="reference external" href="parsecfg.html">parsecfg</a> module to parse the configuration file. Here's an example of how the syntax looks like:</p>
  82. <pre># This is a comment.
  83. ; this too.
  84. [Common]
  85. cc=gcc # '=' and ':' are the same
  86. --foo=&quot;bar&quot; # '--cc' and 'cc' are the same, 'bar' and '&quot;bar&quot;' are the same (except for '#')
  87. macrosym: &quot;#&quot; # Note that '#' is interpreted as a comment without the quotation
  88. --verbose
  89. [Windows]
  90. isConsoleApplication=False ; another comment
  91. [Posix]
  92. isConsoleApplication=True
  93. key1: &quot;in this string backslash escapes are interpreted\n&quot;
  94. key2: r&quot;in this string not&quot;
  95. key3: &quot;&quot;&quot;triple quotes strings
  96. are also supported. They may span
  97. multiple lines.&quot;&quot;&quot;
  98. --&quot;long option with spaces&quot;: r&quot;c:\myfiles\test.txt&quot;
  99. </pre>
  100. <p>The value of a key-value pair can reference user-defined variables via the <tt class="docutils literal"><span class="pre"><span class="Operator">$</span><span class="Identifier">variable</span></span></tt> notation: They can be defined in the command line with the <tt class="docutils literal"><span class="pre option">--var:name=value</span></tt> switch. This is useful to not hard-coding the program's version number into the configuration file, for instance.</p>
  101. <p>It follows a description of each possible section and how it affects the generated installers.</p>
  102. <h2><a class="toc-backref" id="configuration-file-project-section" href="#configuration-file-project-section">Project section</a></h2><p>The project section gathers general information about your project. It must contain the following key-value pairs:</p>
  103. <table border="1" class="docutils"><tr><th>Key</th><th>description</th></tr>
  104. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">Name</span></span></tt></td><td>the project's name; this needs to be a single word</td></tr>
  105. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">DisplayName</span></span></tt></td><td>the project's long name; this can contain spaces. If not specified, this is the same as <tt class="docutils literal"><span class="pre"><span class="Identifier">Name</span></span></tt>.</td></tr>
  106. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">Version</span></span></tt></td><td>the project's version</td></tr>
  107. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">OS</span></span></tt></td><td>the OSes to generate C code for; for example: <tt class="docutils literal"><span class="pre"><span class="StringLit">&quot;windows;linux;macosx&quot;</span></span></tt></td></tr>
  108. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">CPU</span></span></tt></td><td>the CPUs to generate C code for; for example: <tt class="docutils literal"><span class="pre"><span class="StringLit">&quot;i386;amd64;powerpc&quot;</span></span></tt></td></tr>
  109. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">Authors</span></span></tt></td><td>the project's authors</td></tr>
  110. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">Description</span></span></tt></td><td>the project's description</td></tr>
  111. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">App</span></span></tt></td><td>the application's type: &quot;Console&quot; or &quot;GUI&quot;. If &quot;Console&quot;, niminst generates a special batch file for Windows to open up the command-line shell.</td></tr>
  112. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">License</span></span></tt></td><td>the filename of the application's license</td></tr>
  113. </table>
  114. <h2><a class="toc-backref" id="configuration-file-nimfiles-key" href="#configuration-file-nimfiles-key"><tt class="docutils literal"><span class="pre"><span class="Identifier">files</span></span></tt> key</a></h2><p>Many sections support the <tt class="docutils literal"><span class="pre"><span class="Identifier">files</span></span></tt> key. Listed filenames can be separated by semicolon or the <tt class="docutils literal"><span class="pre"><span class="Identifier">files</span></span></tt> key can be repeated. Wildcards in filenames are supported. If it is a directory name, all files in the directory are used:</p>
  115. <pre>[Config]
  116. Files: &quot;configDir&quot;
  117. Files: &quot;otherconfig/*.conf;otherconfig/*.cfg&quot;</pre>
  118. <h2><a class="toc-backref" id="configuration-file-config-section" href="#configuration-file-config-section">Config section</a></h2><p>The <tt class="docutils literal"><span class="pre"><span class="Identifier">config</span></span></tt> section currently only supports the <tt class="docutils literal"><span class="pre"><span class="Identifier">files</span></span></tt> key. Listed files will be installed into the OS's configuration directory.</p>
  119. <h2><a class="toc-backref" id="configuration-file-documentation-section" href="#configuration-file-documentation-section">Documentation section</a></h2><p>The <tt class="docutils literal"><span class="pre"><span class="Identifier">documentation</span></span></tt> section supports the <tt class="docutils literal"><span class="pre"><span class="Identifier">files</span></span></tt> key. Listed files will be installed into the OS's native documentation directory (which might be <tt class="docutils literal"><span class="pre">$appdir/doc</span></tt>).</p>
  120. <p>There is a <tt class="docutils literal"><span class="pre"><span class="Identifier">start</span></span></tt> key which determines whether the Windows installer generates a link to e.g. the <tt class="docutils literal"><span class="pre">index.html</span></tt> of your documentation.</p>
  121. <h2><a class="toc-backref" id="configuration-file-other-section" href="#configuration-file-other-section">Other section</a></h2><p>The <tt class="docutils literal"><span class="pre"><span class="Identifier">other</span></span></tt> section currently only supports the <tt class="docutils literal"><span class="pre"><span class="Identifier">files</span></span></tt> key. Listed files will be installed into the application installation directory (<tt class="docutils literal"><span class="pre"><span class="Operator">$</span><span class="Identifier">appdir</span></span></tt>).</p>
  122. <h2><a class="toc-backref" id="configuration-file-lib-section" href="#configuration-file-lib-section">Lib section</a></h2><p>The <tt class="docutils literal"><span class="pre"><span class="Identifier">lib</span></span></tt> section currently only supports the <tt class="docutils literal"><span class="pre"><span class="Identifier">files</span></span></tt> key. Listed files will be installed into the OS's native library directory (which might be <tt class="docutils literal"><span class="pre"><span class="Operator">$</span><span class="Identifier">appdir</span><span class="Operator">/</span><span class="Identifier">lib</span></span></tt>).</p>
  123. <h2><a class="toc-backref" id="configuration-file-windows-section" href="#configuration-file-windows-section">Windows section</a></h2><p>The <tt class="docutils literal"><span class="pre"><span class="Identifier">windows</span></span></tt> section supports the <tt class="docutils literal"><span class="pre"><span class="Identifier">files</span></span></tt> key for Windows-specific files. Listed files will be installed into the application installation directory (<tt class="docutils literal"><span class="pre"><span class="Operator">$</span><span class="Identifier">appdir</span></span></tt>).</p>
  124. <p>Other possible options are:</p>
  125. <table border="1" class="docutils"><tr><th>Key</th><th>description</th></tr>
  126. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">BinPath</span></span></tt></td><td>paths to add to the Windows <tt class="docutils literal"><span class="pre"><span class="Operator">%</span><span class="Identifier">PATH</span><span class="Operator">%</span></span></tt> environment variable. Example: <tt class="docutils literal"><span class="pre">BinPath: r&quot;bin;dist\mingw\bin&quot;</span></tt></td></tr>
  127. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">InnoSetup</span></span></tt></td><td>boolean flag whether an Inno Setup installer should be generated for Windows. Example: <tt class="docutils literal"><span class="pre"><span class="Identifier">InnoSetup</span><span class="Punctuation">:</span> <span class="StringLit">&quot;Yes&quot;</span></span></tt></td></tr>
  128. </table>
  129. <h2><a class="toc-backref" id="configuration-file-unixbin-section" href="#configuration-file-unixbin-section">UnixBin section</a></h2><p>The <tt class="docutils literal"><span class="pre"><span class="Identifier">UnixBin</span></span></tt> section currently only supports the <tt class="docutils literal"><span class="pre"><span class="Identifier">files</span></span></tt> key. Listed files will be installed into the OS's native bin directory (e.g. <tt class="docutils literal"><span class="pre">/usr/local/bin</span></tt>). The exact location depends on the installation path the user specifies when running the <tt class="docutils literal"><span class="pre"><span class="Identifier">install</span><span class="Operator">.</span><span class="Identifier">sh</span></span></tt> script.</p>
  130. <h2><a class="toc-backref" id="configuration-file-unix-section" href="#configuration-file-unix-section">Unix section</a></h2><p>Possible options are:</p>
  131. <table border="1" class="docutils"><tr><th>Key</th><th>description</th></tr>
  132. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">InstallScript</span></span></tt></td><td>boolean flag whether an installation shell script should be generated. Example: <tt class="docutils literal"><span class="pre"><span class="Identifier">InstallScript</span><span class="Punctuation">:</span> <span class="StringLit">&quot;Yes&quot;</span></span></tt></td></tr>
  133. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">UninstallScript</span></span></tt></td><td>boolean flag whether a de-installation shell script should be generated. Example: <tt class="docutils literal"><span class="pre"><span class="Identifier">UninstallScript</span><span class="Punctuation">:</span> <span class="StringLit">&quot;Yes&quot;</span></span></tt></td></tr>
  134. </table>
  135. <h2><a class="toc-backref" id="configuration-file-innosetup-section" href="#configuration-file-innosetup-section">InnoSetup section</a></h2><p>Possible options are:</p>
  136. <table border="1" class="docutils"><tr><th>Key</th><th>description</th></tr>
  137. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">path</span></span></tt></td><td>Path to Inno Setup. Example: <tt class="docutils literal"><span class="pre">path = r&quot;c:\inno setup 5\iscc.exe&quot;</span></tt></td></tr>
  138. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">flags</span></span></tt></td><td>Flags to pass to Inno Setup. Example: <tt class="docutils literal"><span class="pre"><span class="Identifier">flags</span> <span class="Operator">=</span> <span class="StringLit">&quot;/Q&quot;</span></span></tt></td></tr>
  139. </table>
  140. <h2><a class="toc-backref" id="configuration-file-c-compiler-section" href="#configuration-file-c-compiler-section">C_Compiler section</a></h2><p>Possible options are:</p>
  141. <table border="1" class="docutils"><tr><th>Key</th><th>description</th></tr>
  142. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">path</span></span></tt></td><td>Path to the C compiler.</td></tr>
  143. <tr><td><tt class="docutils literal"><span class="pre"><span class="Identifier">flags</span></span></tt></td><td>Flags to pass to the C Compiler. Example: <tt class="docutils literal"><span class="pre"><span class="Identifier">flags</span> <span class="Operator">=</span> <span class="StringLit">&quot;-w&quot;</span></span></tt></td></tr>
  144. </table>
  145. <h1><a class="toc-backref" id="realminusworld-example" href="#realminusworld-example">Real-world example</a></h1><p>The installers for the Nim compiler itself are generated by niminst. Have a look at its configuration file:</p>
  146. <pre>; This config file holds configuration information about the Nim compiler
  147. ; and project.
  148. [Project]
  149. Name: &quot;Nim&quot;
  150. Version: &quot;$version&quot;
  151. Platforms: &quot;&quot;&quot;
  152. windows: i386;amd64
  153. linux: i386;hppa;ia64;alpha;amd64;powerpc64;arm;sparc;sparc64;m68k;mips;mipsel;mips64;mips64el;powerpc;powerpc64el;arm64;riscv32;riscv64;loongarch64
  154. macosx: i386;amd64;powerpc64;arm64
  155. solaris: i386;amd64;sparc;sparc64
  156. freebsd: i386;amd64;powerpc64;arm;arm64;riscv64;sparc64;mips;mipsel;mips64;mips64el;powerpc;powerpc64el
  157. netbsd: i386;amd64;arm64
  158. openbsd: i386;amd64;arm;arm64
  159. dragonfly: i386;amd64
  160. crossos: amd64
  161. haiku: i386;amd64
  162. android: i386;arm;arm64
  163. nintendoswitch: arm64
  164. &quot;&quot;&quot;
  165. Authors: &quot;Andreas Rumpf&quot;
  166. Description: &quot;&quot;&quot;This is the Nim Compiler. Nim is a new statically typed,
  167. imperative programming language, that supports procedural, functional, object
  168. oriented and generic programming styles while remaining simple and efficient.
  169. A special feature that Nim inherited from Lisp is that Nim's abstract
  170. syntax tree (AST) is part of the specification - this allows a powerful macro
  171. system which can be used to create domain specific languages.
  172. Nim is a compiled, garbage-collected systems programming language
  173. which has an excellent productivity/performance ratio. Nim's design
  174. focuses on the 3E: efficiency, expressiveness, elegance (in the order of
  175. priority).&quot;&quot;&quot;
  176. App: Console
  177. License: &quot;copying.txt&quot;
  178. [Config]
  179. Files: &quot;config/*.cfg&quot;
  180. Files: &quot;config/config.nims&quot;
  181. [Documentation]
  182. ; Files: &quot;doc/*.html&quot;
  183. ; Files: &quot;doc/*.cfg&quot;
  184. ; Files: &quot;doc/*.pdf&quot;
  185. ; Files: &quot;doc/*.ini&quot;
  186. Files: &quot;doc/html/overview.html&quot;
  187. Start: &quot;doc/html/overview.html&quot;
  188. [Other]
  189. Files: &quot;copying.txt&quot;
  190. Files: &quot;koch.nim&quot;
  191. Files: &quot;icons/nim.ico&quot;
  192. Files: &quot;icons/nim.rc&quot;
  193. Files: &quot;icons/nim.res&quot;
  194. Files: &quot;icons/nim_icon.o&quot;
  195. Files: &quot;icons/koch.ico&quot;
  196. Files: &quot;icons/koch.rc&quot;
  197. Files: &quot;icons/koch.res&quot;
  198. Files: &quot;icons/koch_icon.o&quot;
  199. Files: &quot;compiler&quot;
  200. Files: &quot;doc&quot;
  201. Files: &quot;doc/html&quot;
  202. Files: &quot;tools&quot;
  203. Files: &quot;tools/debug/nim-gdb.py&quot;
  204. Files: &quot;nimpretty&quot;
  205. Files: &quot;testament&quot;
  206. Files: &quot;nimsuggest&quot;
  207. Files: &quot;nimsuggest/tests/*.nim&quot;
  208. Files: &quot;changelogs/*.md&quot;
  209. Files: &quot;ci/funs.sh&quot;
  210. [Lib]
  211. Files: &quot;lib&quot;
  212. [Other]
  213. Files: &quot;examples&quot;
  214. Files: &quot;dist/nimble&quot;
  215. Files: &quot;dist/checksums&quot;
  216. Files: &quot;tests&quot;
  217. [Windows]
  218. Files: &quot;bin/nim.exe&quot;
  219. Files: &quot;bin/nimgrep.exe&quot;
  220. Files: &quot;bin/nimsuggest.exe&quot;
  221. Files: &quot;bin/nimble.exe&quot;
  222. Files: &quot;bin/vccexe.exe&quot;
  223. Files: &quot;bin/nimgrab.exe&quot;
  224. Files: &quot;bin/nimpretty.exe&quot;
  225. Files: &quot;bin/testament.exe&quot;
  226. Files: &quot;bin/nim-gdb.bat&quot;
  227. Files: &quot;bin/atlas.exe&quot;
  228. Files: &quot;koch.exe&quot;
  229. Files: &quot;finish.exe&quot;
  230. ; Files: &quot;bin/downloader.exe&quot;
  231. ; Files: &quot;dist/mingw&quot;
  232. Files: r&quot;tools\start.bat&quot;
  233. BinPath: r&quot;bin;dist\mingw\bin;dist&quot;
  234. ; Section | dir | zipFile | size hint (in KB) | url | exe start menu entry
  235. Download: r&quot;Documentation|doc|docs.zip|13824|https://nim-lang.org/download/docs-${version}.zip|overview.html&quot;
  236. Download: r&quot;C Compiler (MingW)|dist|mingw.zip|82944|https://nim-lang.org/download/${mingw}.zip&quot;
  237. Download: r&quot;Support DLLs|bin|nim_dlls.zip|479|https://nim-lang.org/download/dlls.zip&quot;
  238. Download: r&quot;Aporia Text Editor|dist|aporia.zip|97997|https://nim-lang.org/download/aporia-0.4.0.zip|aporia-0.4.0\bin\aporia.exe&quot;
  239. ; for now only NSIS supports optional downloads
  240. [WinBin]
  241. Files: &quot;bin/makelink.exe&quot;
  242. Files: &quot;bin/7zG.exe&quot;
  243. Files: &quot;bin/*.dll&quot;
  244. Files: &quot;bin/cacert.pem&quot;
  245. [UnixBin]
  246. Files: &quot;bin/nim&quot;
  247. [Unix]
  248. InstallScript: &quot;yes&quot;
  249. UninstallScript: &quot;yes&quot;
  250. Files: &quot;bin/nim-gdb&quot;
  251. Files: &quot;build_all.sh&quot;
  252. [InnoSetup]
  253. path = r&quot;c:\Program Files (x86)\Inno Setup 5\iscc.exe&quot;
  254. flags = &quot;/Q&quot;
  255. [NSIS]
  256. flags = &quot;/V0&quot;
  257. [C_Compiler]
  258. path = r&quot;&quot;
  259. flags = &quot;-w&quot;
  260. [deb]
  261. buildDepends: &quot;gcc (&gt;= 4:4.3.2)&quot;
  262. pkgDepends: &quot;gcc (&gt;= 4:4.3.2)&quot;
  263. shortDesc: &quot;The Nim Compiler&quot;
  264. licenses: &quot;bin/nim,MIT;lib/*,MIT;&quot;
  265. [nimble]
  266. pkgName: &quot;nim&quot;
  267. pkgFiles: &quot;compiler/*;doc/basicopt.txt;doc/advopt.txt;doc/nimdoc.css;doc/nimdoc.cls&quot;
  268. </pre>
  269. </p>
  270. </div>
  271. </div>
  272. <div class="twelve-columns footer">
  273. <span class="nim-sprite"></span>
  274. <br>
  275. <small style="color: var(--hint);">Made with Nim. Generated: 2024-12-25 13:27:28 UTC</small>
  276. </div>
  277. </div>
  278. </div>
  279. <script defer data-domain="nim-lang.org" src="https://plausible.io/js/plausible.js"></script>
  280. </body>
  281. </html>