diff options
Diffstat (limited to 'html')
-rw-r--r-- | html/index.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/html/index.html b/html/index.html index 494ce50..a7b82ec 100644 --- a/html/index.html +++ b/html/index.html | |||
@@ -19,7 +19,7 @@ | |||
19 | <p>Lua4Win is a distribution the Lua programming language for Windows.</p> | 19 | <p>Lua4Win is a distribution the Lua programming language for Windows.</p> |
20 | <ul> | 20 | <ul> |
21 | <li><a href="#install">Install</a></li> | 21 | <li><a href="#install">Install</a></li> |
22 | <li><a href="#rational">Rational</a></li> | 22 | <li><a href="#rational">Rationale</a></li> |
23 | <li><a href="#usage">Usage</a></li> | 23 | <li><a href="#usage">Usage</a></li> |
24 | <li><a href="#luarocks">Luarocks</a></li> | 24 | <li><a href="#luarocks">Luarocks</a></li> |
25 | <li><a href="#languages">Sister Languages</a></li> | 25 | <li><a href="#languages">Sister Languages</a></li> |
@@ -33,8 +33,8 @@ | |||
33 | <a class="button" href="https://cicd.lua4.win/archive/lua4win-dist-lua/latest/lua4win.msi">Download</a> | 33 | <a class="button" href="https://cicd.lua4.win/archive/lua4win-dist-lua/latest/lua4win.msi">Download</a> |
34 | </section> | 34 | </section> |
35 | <section class="container" id="rational"> | 35 | <section class="container" id="rational"> |
36 | <h3 class="title">Rational</h3> | 36 | <h3 class="title">Rationale</h3> |
37 | <p>Lua4Win is a distribution of the Lua programming language for Windows. Lua4Win comes with the Luarocks package manager and is a "batteries-not-included" distribution of Lua. Binary packages are built remotely and are downloaded as-needed. The Lua4Win installer contains a copy of <a href="https://luajit.org">LuaJIT</a>, <a href="https://luarocks.org">Luarocks</a>, <a href="https://www.busybox.net">Busybox</a>, and <a href="https://7zip.org">7zip</a>; which allows it to come in at a slim 2MB. Updates and bugfixes to libraries can be done piecemeal instead of requiring new copies of the whole distribution every time a bug gets fixed.</p> | 37 | <p>Lua4Win is a distribution of the Lua programming language for Windows. Lua4Win comes with the Luarocks package manager and is a "batteries-not-included" distribution of Lua. Binary packages are built remotely and are downloaded as needed. The Lua4Win installer contains a copy of <a href="https://luajit.org">LuaJIT</a>, <a href="https://luarocks.org">Luarocks</a>, <a href="https://www.busybox.net">Busybox</a>, and <a href="https://7-zip.org">7zip</a>; which allows it to come in at a slim 2MB. Updates and bugfixes to libraries can be done piecemeal instead of requiring new copies of the whole distribution every time a bug gets fixed.</p> |
38 | </section> | 38 | </section> |
39 | <section class="container" id="usage"> | 39 | <section class="container" id="usage"> |
40 | <h3 class="title">Usage</h3> | 40 | <h3 class="title">Usage</h3> |
@@ -45,7 +45,7 @@ JIT: ON CMOV SSE2 SSE3 SSE4.1 AMD fold cse dce fwd dse narrow loop abc sink fuse | |||
45 | > print("Hello, world!") | 45 | > print("Hello, world!") |
46 | Hello, world! | 46 | Hello, world! |
47 | ></code></pre> | 47 | ></code></pre> |
48 | <p>You can use <code>CTRL+C</code> to escape the read-evaluate-print-loop. You can also write Lua programs with your favorite text editor and run them with <code>$ lua filename.lua</code> | 48 | <p>You can use <code>CTRL+C</code> to escape the read-evaluate-print-loop. You can also write Lua programs with your favorite text editor and run them with <code>$ lua filename.lua</code>. |
49 | <div class="container"> | 49 | <div class="container"> |
50 | <div class="row"> | 50 | <div class="row"> |
51 | <div class="column"> | 51 | <div class="column"> |
@@ -73,7 +73,7 @@ os.execute("notepad.exe " .. filename)</code></pre> | |||
73 | </section> | 73 | </section> |
74 | <section class="container" id="luarocks"> | 74 | <section class="container" id="luarocks"> |
75 | <h3 class="title">Installing Superpowers</h3> | 75 | <h3 class="title">Installing Superpowers</h3> |
76 | <p>You can use modules that implement more than the standard lua libraries by running the <code>$ luarocks install >module name< </code> command to download and install modules.</p> | 76 | <p>You can use modules that implement more than the standard Lua libraries by running the <code>$ luarocks install >module name< </code> command to download and install modules.</p> |
77 | <div class="row"> | 77 | <div class="row"> |
78 | <div class="column"> | 78 | <div class="column"> |
79 | | 79 | |
@@ -151,10 +151,10 @@ ab</code></pre> | |||
151 | </section> | 151 | </section> |
152 | <section class="container" id="advanced"> | 152 | <section class="container" id="advanced"> |
153 | <h3 class="title">Advanced Usage</h3> | 153 | <h3 class="title">Advanced Usage</h3> |
154 | <p>By default, Lua4Win will install packages in a user-local location, at <code>%APPDATA%/luarocks</code>. You can instead choose to install system-wide packages for all users with the <code class="language-none">--tree system</code> flag, these packages will be located at <code>[INSTALLDIR]/luarocks</code>. You may need to be running as an administrator to install to this location.</p> | 154 | <p>By default, Lua4Win will install packages in your user directory, at <code>%APPDATA%/luarocks</code>. You can instead choose to install system-wide packages for all users with the <code class="language-none">--tree system</code> flag, these packages will be located at <code>[INSTALLDIR]/luarocks</code>. You may need to be running as an administrator to install to this location.</p> |
155 | <p>Lua4Win's luarocks configuration lives at <code class="language-none">[INSTALLDIR]/config/config-5.1.lua</code>, and is a regular Lua file you can modify.</p> | 155 | <p>Lua4Win's luarocks configuration lives at <code class="language-none">[INSTALLDIR]/config/config-5.1.lua</code>, and is a regular Lua file you can modify.</p> |
156 | <p>All of Lua4Win's binary packages are built using mingw64. If you intend to build your own modules they must be built with mingw64 if you want them to interoperate with Lua4Win-distributed Lua.</p> | 156 | <p>All of Lua4Win's binary packages are built using mingw64. If you intend to build your own modules they must be built with mingw64 if you want them to interoperate with Lua4Win-distributed Lua.</p> |
157 | <p>Some of Lua4Win's packages needed patching or modification, source code is generally mirrored at <a href="https://git.lua4.win">git.lua4.win</a>, and packaging code is kept separate- usually in a <code>*-packaging</code> repo.</p> | 157 | <p>Some of Lua4Win's packages needed patching or modification. Source code for these modifications are available at <a href="https://git.lua4.win">git.lua4.win</a>. Modifications are kept in a seperat <code>*-packaging</code> repo. For example, modifications to <code>busybox-w32</code> are located in the <code>busybox-w32-packaging</code> repository. |
158 | </section> | 158 | </section> |
159 | </main></body> | 159 | </main></body> |
160 | </html> | 160 | </html> |