You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/toolchain/interpreter.html
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -211,7 +211,8 @@
211
211
<ulclass="mt-0">
212
212
<li>Console versions of the interpreter are suitable for command line tools, as they are running in a command prompt window.</li>
213
213
<li>Desktop versions of the interpreter are for applications based on the Windows GUI, so they include the <code>ui</code> module.</li>
214
-
<li>Static interpreters do not depend on <code>lua54.dll</code>, but the use of binary modules is strongly discouraged.</li>
214
+
<li>Static interpreters do not depend on <code>lua54.dll</code>, even with static compiled modules.</li>
215
+
<li>Static modules must be compiled with the provided <code>lua54-static.lib</code> and they names suffixed by <code>-static.dll</code></li>
215
216
<li>Since Lua<sup>rt</sup> 1.2.0, better compatibility with PUC Lua is provided by the integration of the PUC Lua <code>os</code>, <code>io</code> and <code>utf8</code> modules.</li>
<pclass="mt-4">But wait a minute, how to access our files once they are embedded in our executable ?</p>
278
278
<p>The <code>embed</code> module comes to the rescue. This module is only available to compiled scripts if embedded content is found inside the executable. This module contains : </p>
279
279
<ul><li>A <ahref="../sys/File.html"><iclass="fas fas fa-file"></i> File</a> object to interact with all the embedded files.</li>
280
-
<li>A <ahref="../compression/Zip.html"><iclass="fas fas fa-archive"></i> Zip</a> object instance to access the compressed embedded content.</li></ul>
280
+
<li>A <ahref="../sys/Directory.html"><iclass="fas fas fa-folder"></i> Directory</a> object to interact with folders in the embedded content.</li>
281
+
<li>A <ahref="../compression/Zip.html"><iclass="fas fas fa-archive"></i> Zip</a> object instance to access the compressed embedded content.</li></ul>
281
282
<p>If you want to use a Lua file or a Lua binary module in the embedded content, just use the global <code>require()</code> function seamlessly, without the need to extract files before.</p>
0 commit comments