aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/contact.html4
-rw-r--r--doc/ext_ffi_api.html2
-rw-r--r--doc/ext_ffi_semantics.html4
-rw-r--r--doc/ext_ffi_tutorial.html4
-rw-r--r--doc/extensions.html8
-rw-r--r--doc/faq.html22
-rw-r--r--doc/install.html6
-rw-r--r--doc/luajit.html4
-rw-r--r--doc/running.html2
9 files changed, 28 insertions, 28 deletions
diff --git a/doc/contact.html b/doc/contact.html
index b5e390a7..3940feed 100644
--- a/doc/contact.html
+++ b/doc/contact.html
@@ -55,11 +55,11 @@
55<p> 55<p>
56If you want to report bugs, propose fixes or suggest enhancements, 56If you want to report bugs, propose fixes or suggest enhancements,
57please use the 57please use the
58<a href="https://github.com/LuaJIT/LuaJIT/issues">GitHub issue tracker</a>. 58<a href="https://github.com/LuaJIT/LuaJIT/issues"><span class="ext">&raquo;</span>&nbsp;GitHub issue tracker</a>.
59</p> 59</p>
60<p> 60<p>
61Please send general questions to the 61Please send general questions to the
62<a href="https://luajit.org/list.html">LuaJIT mailing list</a>. 62<a href="https://luajit.org/list.html"><span class="ext">&raquo;</span>&nbsp;LuaJIT mailing list</a>.
63</p> 63</p>
64<p> 64<p>
65You can also send any questions you have directly to me: 65You can also send any questions you have directly to me:
diff --git a/doc/ext_ffi_api.html b/doc/ext_ffi_api.html
index 9772aa5d..5683289a 100644
--- a/doc/ext_ffi_api.html
+++ b/doc/ext_ffi_api.html
@@ -253,7 +253,7 @@ contents of an <tt>__index</tt> table (if any) may be modified
253afterwards. The associated metatable automatically applies to all uses 253afterwards. The associated metatable automatically applies to all uses
254of this type, no matter how the objects are created or where they 254of this type, no matter how the objects are created or where they
255originate from. Note that pre-defined operations on types have 255originate from. Note that pre-defined operations on types have
256precedence (e.g. declared field names cannot be overriden). 256precedence (e.g. declared field names cannot be overridden).
257</p> 257</p>
258<p> 258<p>
259All standard Lua metamethods are implemented. These are called directly, 259All standard Lua metamethods are implemented. These are called directly,
diff --git a/doc/ext_ffi_semantics.html b/doc/ext_ffi_semantics.html
index ce6313d7..c95407b7 100644
--- a/doc/ext_ffi_semantics.html
+++ b/doc/ext_ffi_semantics.html
@@ -668,7 +668,7 @@ through unions is explicitly detected and allowed.
668<a href="ext_ffi_api.html#ffi_new">constructor</a>. This is equivalent 668<a href="ext_ffi_api.html#ffi_new">constructor</a>. This is equivalent
669to <tt>ffi.new(ct, ...)</tt>, unless a <tt>__new</tt> metamethod is 669to <tt>ffi.new(ct, ...)</tt>, unless a <tt>__new</tt> metamethod is
670defined. The <tt>__new</tt> metamethod is called with the ctype object 670defined. The <tt>__new</tt> metamethod is called with the ctype object
671plus any other arguments passed to the contructor. Note that you have to 671plus any other arguments passed to the constructor. Note that you have to
672use <tt>ffi.new</tt> inside of it, since calling <tt>ct(...)</tt> would 672use <tt>ffi.new</tt> inside of it, since calling <tt>ct(...)</tt> would
673cause infinite recursion.</li> 673cause infinite recursion.</li>
674 674
@@ -838,7 +838,7 @@ place of a type, you'd need to use <tt>ffi.typeof("int")</tt> instead.
838<p> 838<p>
839The main use for parameterized types are libraries implementing abstract 839The main use for parameterized types are libraries implementing abstract
840data types 840data types
841(<a href="https://www.freelists.org/post/luajit/ffi-type-of-pointer-to,8">example</a>), 841(<a href="https://www.freelists.org/post/luajit/ffi-type-of-pointer-to,8"><span class="ext">&raquo;</span>&nbsp;example</a>),
842similar to what can be achieved with C++ template metaprogramming. 842similar to what can be achieved with C++ template metaprogramming.
843Another use case are derived types of anonymous structs, which avoids 843Another use case are derived types of anonymous structs, which avoids
844pollution of the global struct namespace. 844pollution of the global struct namespace.
diff --git a/doc/ext_ffi_tutorial.html b/doc/ext_ffi_tutorial.html
index ae376b1f..6ba76dc2 100644
--- a/doc/ext_ffi_tutorial.html
+++ b/doc/ext_ffi_tutorial.html
@@ -214,7 +214,7 @@ a fascinating best-selling game is left as an exercise for the reader.
214<h2 id="zlib">Accessing the zlib Compression Library</h2> 214<h2 id="zlib">Accessing the zlib Compression Library</h2>
215<p> 215<p>
216The following code shows how to access the <a 216The following code shows how to access the <a
217href="https://zlib.net/">zlib</a> compression library from Lua code. 217href="https://zlib.net/"><span class="ext">&raquo;</span>&nbsp;zlib</a> compression library from Lua code.
218We'll define two convenience wrapper functions that take a string and 218We'll define two convenience wrapper functions that take a string and
219compress or uncompress it to another string: 219compress or uncompress it to another string:
220</p> 220</p>
@@ -297,7 +297,7 @@ comes pre-installed. Since <tt>ffi.load()</tt> automatically adds any
297missing standard prefixes/suffixes, we can simply load the 297missing standard prefixes/suffixes, we can simply load the
298<tt>"z"</tt> library. On Windows it's named <tt>zlib1.dll</tt> and 298<tt>"z"</tt> library. On Windows it's named <tt>zlib1.dll</tt> and
299you'll have to download it first from the 299you'll have to download it first from the
300<a href="https://zlib.net/">zlib site</a>. The check for 300<a href="https://zlib.net/"><span class="ext">&raquo;</span>&nbsp;zlib site</a>. The check for
301<tt>ffi.os</tt> makes sure we pass the right name to 301<tt>ffi.os</tt> makes sure we pass the right name to
302<tt>ffi.load()</tt>. 302<tt>ffi.load()</tt>.
303</p> 303</p>
diff --git a/doc/extensions.html b/doc/extensions.html
index 0fc65330..9d37cf0e 100644
--- a/doc/extensions.html
+++ b/doc/extensions.html
@@ -71,9 +71,9 @@ td.excinterop {
71<div id="main"> 71<div id="main">
72<p> 72<p>
73LuaJIT is fully upwards-compatible with Lua 5.1. It supports all 73LuaJIT is fully upwards-compatible with Lua 5.1. It supports all
74<a href="https://www.lua.org/manual/5.1/manual.html#5">standard Lua 74<a href="https://www.lua.org/manual/5.1/manual.html#5"><span class="ext">&raquo;</span>&nbsp;standard Lua
75library functions</a> and the full set of 75library functions</a> and the full set of
76<a href="https://www.lua.org/manual/5.1/manual.html#3">Lua/C API 76<a href="https://www.lua.org/manual/5.1/manual.html#3"><span class="ext">&raquo;</span>&nbsp;Lua/C API
77functions</a>. 77functions</a>.
78</p> 78</p>
79<p> 79<p>
@@ -97,7 +97,7 @@ LuaJIT comes with several built-in extension modules:
97<h3 id="bit"><tt>bit.*</tt> &mdash; Bitwise operations</h3> 97<h3 id="bit"><tt>bit.*</tt> &mdash; Bitwise operations</h3>
98<p> 98<p>
99LuaJIT supports all bitwise operations as defined by 99LuaJIT supports all bitwise operations as defined by
100<a href="https://bitop.luajit.org">Lua BitOp</a>: 100<a href="https://bitop.luajit.org"><span class="ext">&raquo;</span>&nbsp;Lua BitOp</a>:
101</p> 101</p>
102<pre class="code"> 102<pre class="code">
103bit.tobit bit.tohex bit.bnot bit.band bit.bor bit.bxor 103bit.tobit bit.tohex bit.bnot bit.band bit.bor bit.bxor
@@ -106,7 +106,7 @@ bit.lshift bit.rshift bit.arshift bit.rol bit.ror bit.bswap
106<p> 106<p>
107This module is a LuaJIT built-in &mdash; you don't need to download or 107This module is a LuaJIT built-in &mdash; you don't need to download or
108install Lua BitOp. The Lua BitOp site has full documentation for all 108install Lua BitOp. The Lua BitOp site has full documentation for all
109<a href="https://bitop.luajit.org/api.html">Lua BitOp API functions</a>. 109<a href="https://bitop.luajit.org/api.html"><span class="ext">&raquo;</span>&nbsp;Lua BitOp API functions</a>.
110</p> 110</p>
111<p> 111<p>
112Please make sure to <tt>require</tt> the module before using any of 112Please make sure to <tt>require</tt> the module before using any of
diff --git a/doc/faq.html b/doc/faq.html
index 65b0d842..a7144670 100644
--- a/doc/faq.html
+++ b/doc/faq.html
@@ -59,16 +59,16 @@ dd { margin-left: 1.5em; }
59<dt>Q: Where can I learn more about LuaJIT and Lua?</dt> 59<dt>Q: Where can I learn more about LuaJIT and Lua?</dt>
60<dd> 60<dd>
61<ul style="padding: 0;"> 61<ul style="padding: 0;">
62<li>The <a href="https://luajit.org/list.html">LuaJIT mailing list</a> focuses on topics 62<li>The <a href="https://luajit.org/list.html"><span class="ext">&raquo;</span>&nbsp;LuaJIT mailing list</a> focuses on topics
63related to LuaJIT.</li> 63related to LuaJIT.</li>
64<li>The <a href="http://wiki.luajit.org/"><span class="ext">&raquo;</span>&nbsp;LuaJIT wiki</a> gathers community 64<li>The <a href="http://wiki.luajit.org/"><span class="ext">&raquo;</span>&nbsp;LuaJIT wiki</a> gathers community
65resources about LuaJIT.</li> 65resources about LuaJIT.</li>
66<li>News about Lua itself can be found at the 66<li>News about Lua itself can be found at the
67<a href="https://www.lua.org/lua-l.html">Lua mailing list</a>. 67<a href="https://www.lua.org/lua-l.html"><span class="ext">&raquo;</span>&nbsp;Lua mailing list</a>.
68The mailing list archives are worth checking out for older postings 68The mailing list archives are worth checking out for older postings
69about LuaJIT.</li> 69about LuaJIT.</li>
70<li>The <a href="https://lua.org">main Lua.org site</a> has complete 70<li>The <a href="https://lua.org"><span class="ext">&raquo;</span>&nbsp;main Lua.org site</a> has complete
71<a href="https://www.lua.org/docs.html">documentation</a> of the language 71<a href="https://www.lua.org/docs.html"><span class="ext">&raquo;</span>&nbsp;documentation</a> of the language
72and links to books and papers about Lua.</li> 72and links to books and papers about Lua.</li>
73<li>The community-managed <a href="http://lua-users.org/wiki/"><span class="ext">&raquo;</span>&nbsp;Lua Wiki</a> 73<li>The community-managed <a href="http://lua-users.org/wiki/"><span class="ext">&raquo;</span>&nbsp;Lua Wiki</a>
74has information about diverse topics.</li> 74has information about diverse topics.</li>
@@ -81,11 +81,11 @@ has information about diverse topics.</li>
81I'm planning to write more documentation about the internals of LuaJIT. 81I'm planning to write more documentation about the internals of LuaJIT.
82In the meantime, please use the following Google Scholar searches 82In the meantime, please use the following Google Scholar searches
83to find relevant papers:<br> 83to find relevant papers:<br>
84Search for: <a href="https://scholar.google.com/scholar?q=Trace+Compiler">Trace Compiler</a><br> 84Search for: <a href="https://scholar.google.com/scholar?q=Trace+Compiler"><span class="ext">&raquo;</span>&nbsp;Trace Compiler</a><br>
85Search for: <a href="https://scholar.google.com/scholar?q=JIT+Compiler">JIT Compiler</a><br> 85Search for: <a href="https://scholar.google.com/scholar?q=JIT+Compiler"><span class="ext">&raquo;</span>&nbsp;JIT Compiler</a><br>
86Search for: <a href="https://scholar.google.com/scholar?q=Dynamic+Language+Optimizations">Dynamic Language Optimizations</a><br> 86Search for: <a href="https://scholar.google.com/scholar?q=Dynamic+Language+Optimizations"><span class="ext">&raquo;</span>&nbsp;Dynamic Language Optimizations</a><br>
87Search for: <a href="https://scholar.google.com/scholar?q=SSA+Form">SSA Form</a><br> 87Search for: <a href="https://scholar.google.com/scholar?q=SSA+Form"><span class="ext">&raquo;</span>&nbsp;SSA Form</a><br>
88Search for: <a href="https://scholar.google.com/scholar?q=Linear+Scan+Register+Allocation">Linear Scan Register Allocation</a><br> 88Search for: <a href="https://scholar.google.com/scholar?q=Linear+Scan+Register+Allocation"><span class="ext">&raquo;</span>&nbsp;Linear Scan Register Allocation</a><br>
89Here is a list of the <a href="http://lua-users.org/lists/lua-l/2009-11/msg00089.html"><span class="ext">&raquo;</span>&nbsp;innovative features in LuaJIT</a>.<br> 89Here is a list of the <a href="http://lua-users.org/lists/lua-l/2009-11/msg00089.html"><span class="ext">&raquo;</span>&nbsp;innovative features in LuaJIT</a>.<br>
90And, you know, reading the source is of course the only way to enlightenment. :-) 90And, you know, reading the source is of course the only way to enlightenment. :-)
91</dd> 91</dd>
@@ -97,7 +97,7 @@ Q: My vararg functions fail after switching to LuaJIT!</dt>
97<dd>LuaJIT is compatible to the Lua 5.1 language standard. It doesn't 97<dd>LuaJIT is compatible to the Lua 5.1 language standard. It doesn't
98support the implicit <tt>arg</tt> parameter for old-style vararg 98support the implicit <tt>arg</tt> parameter for old-style vararg
99functions from Lua 5.0.<br>Please convert your code to the 99functions from Lua 5.0.<br>Please convert your code to the
100<a href="https://www.lua.org/manual/5.1/manual.html#2.5.9">Lua 5.1 100<a href="https://www.lua.org/manual/5.1/manual.html#2.5.9"><span class="ext">&raquo;</span>&nbsp;Lua 5.1
101vararg syntax</a>.</dd> 101vararg syntax</a>.</dd>
102</dl> 102</dl>
103 103
@@ -154,7 +154,7 @@ don't report a bug about it. Check the <tt>mode</tt> parameter for the
154In general, the only promising approach is to sandbox Lua code at the 154In general, the only promising approach is to sandbox Lua code at the
155process level and not the VM level.<br> 155process level and not the VM level.<br>
156 156
157More reading material at the <a href="http://lua-users.org/wiki/SandBoxes"><span class="ext">&raquo;</span>&nbsp;Lua Wiki</a> and <a href="https://en.wikipedia.org/wiki/Sandbox_(computer_security)">Wikipedia</a>. 157More reading material at the <a href="http://lua-users.org/wiki/SandBoxes"><span class="ext">&raquo;</span>&nbsp;Lua Wiki</a> and <a href="https://en.wikipedia.org/wiki/Sandbox_(computer_security)"><span class="ext">&raquo;</span>&nbsp;Wikipedia</a>.
158</dd> 158</dd>
159</dl> 159</dl>
160 160
diff --git a/doc/install.html b/doc/install.html
index 60665360..85ca9913 100644
--- a/doc/install.html
+++ b/doc/install.html
@@ -236,7 +236,7 @@ Obviously the prefixes given during build and installation need to be the same.
236<p> 236<p>
237Either install one of the open source SDKs 237Either install one of the open source SDKs
238(<a href="http://mingw.org/"><span class="ext">&raquo;</span>&nbsp;MinGW</a> or 238(<a href="http://mingw.org/"><span class="ext">&raquo;</span>&nbsp;MinGW</a> or
239<a href="https://www.cygwin.com/">Cygwin</a>), which come with a modified 239<a href="https://www.cygwin.com/"><span class="ext">&raquo;</span>&nbsp;Cygwin</a>), which come with a modified
240GCC plus the required development headers. 240GCC plus the required development headers.
241Or install Microsoft's Visual Studio (MSVC). 241Or install Microsoft's Visual Studio (MSVC).
242</p> 242</p>
@@ -358,7 +358,7 @@ make HOST_CC="gcc -m32" CROSS=mips-linux-
358make HOST_CC="gcc -m32" CROSS=mipsel-linux- 358make HOST_CC="gcc -m32" CROSS=mipsel-linux-
359</pre> 359</pre>
360<p> 360<p>
361You can cross-compile for <b id="android">Android</b> using the <a href="https://developer.android.com/ndk/">Android NDK</a>. 361You can cross-compile for <b id="android">Android</b> using the <a href="https://developer.android.com/ndk/"><span class="ext">&raquo;</span>&nbsp;Android NDK</a>.
362Please adapt the environment variables to match the install locations and the 362Please adapt the environment variables to match the install locations and the
363desired target platform. E.g. Android&nbsp;4.1 corresponds to ABI level&nbsp;16. 363desired target platform. E.g. Android&nbsp;4.1 corresponds to ABI level&nbsp;16.
364</p> 364</p>
@@ -488,7 +488,7 @@ Make sure the <tt>jit</tt> library is loaded or the JIT compiler
488will not be activated.</li> 488will not be activated.</li>
489<li>The <tt>bit.*</tt> module for bitwise operations 489<li>The <tt>bit.*</tt> module for bitwise operations
490is already built-in. There's no need to statically link 490is already built-in. There's no need to statically link
491<a href="https://bitop.luajit.org/">Lua BitOp</a> to your application.</li> 491<a href="https://bitop.luajit.org/"><span class="ext">&raquo;</span>&nbsp;Lua BitOp</a> to your application.</li>
492</ul> 492</ul>
493 493
494<h2 id="distro">Hints for Distribution Maintainers</h2> 494<h2 id="distro">Hints for Distribution Maintainers</h2>
diff --git a/doc/luajit.html b/doc/luajit.html
index c71831bb..f99aa022 100644
--- a/doc/luajit.html
+++ b/doc/luajit.html
@@ -139,13 +139,13 @@ table.feature small {
139<div id="main"> 139<div id="main">
140<p> 140<p>
141LuaJIT is a <b>Just-In-Time Compiler</b> (JIT) for the 141LuaJIT is a <b>Just-In-Time Compiler</b> (JIT) for the
142<a href="https://www.lua.org/">Lua</a> programming language. 142<a href="https://www.lua.org/"><span class="ext">&raquo;</span>&nbsp;Lua</a> programming language.
143Lua is a powerful, dynamic and light-weight programming language. 143Lua is a powerful, dynamic and light-weight programming language.
144It may be embedded or used as a general-purpose, stand-alone language. 144It may be embedded or used as a general-purpose, stand-alone language.
145</p> 145</p>
146<p> 146<p>
147LuaJIT is Copyright &copy; 2005-2020 Mike Pall, released under the 147LuaJIT is Copyright &copy; 2005-2020 Mike Pall, released under the
148<a href="https://www.opensource.org/licenses/mit-license.php">MIT open source license</a>. 148<a href="https://www.opensource.org/licenses/mit-license.php"><span class="ext">&raquo;</span>&nbsp;MIT open source license</a>.
149</p> 149</p>
150<p> 150<p>
151</p> 151</p>
diff --git a/doc/running.html b/doc/running.html
index a8c71af0..07fa0099 100644
--- a/doc/running.html
+++ b/doc/running.html
@@ -87,7 +87,7 @@ The <tt>luajit</tt> stand-alone executable is just a slightly modified
87version of the regular <tt>lua</tt> stand-alone executable. 87version of the regular <tt>lua</tt> stand-alone executable.
88It supports the same basic options, too. <tt>luajit&nbsp;-h</tt> 88It supports the same basic options, too. <tt>luajit&nbsp;-h</tt>
89prints a short list of the available options. Please have a look at the 89prints a short list of the available options. Please have a look at the
90<a href="https://www.lua.org/manual/5.1/manual.html#6">Lua manual</a> 90<a href="https://www.lua.org/manual/5.1/manual.html#6"><span class="ext">&raquo;</span>&nbsp;Lua manual</a>
91for details. 91for details.
92</p> 92</p>
93<p> 93<p>