summaryrefslogtreecommitdiff
path: root/doc/running.html
diff options
context:
space:
mode:
authorMike Pall <mike>2011-06-14 01:58:19 +0200
committerMike Pall <mike>2011-06-14 01:58:19 +0200
commitecab831ebfca1b08e93bf8dd3c1a7e3b43cf5c97 (patch)
tree35f7b3208d1a892fd5169c7b67e60472c496eef6 /doc/running.html
parentbcc196eed385f6935dedc45a08f7deac2cb062a5 (diff)
downloadluajit-ecab831ebfca1b08e93bf8dd3c1a7e3b43cf5c97.tar.gz
luajit-ecab831ebfca1b08e93bf8dd3c1a7e3b43cf5c97.tar.bz2
luajit-ecab831ebfca1b08e93bf8dd3c1a7e3b43cf5c97.zip
Add more docs for bytecode load/save feature.
Diffstat (limited to 'doc/running.html')
-rw-r--r--doc/running.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/running.html b/doc/running.html
index ecf6bba4..118dab7b 100644
--- a/doc/running.html
+++ b/doc/running.html
@@ -133,6 +133,13 @@ luajit -bl test.lua # List to stdout
133luajit -bl test.lua test.txt # List to test.txt 133luajit -bl test.lua test.txt # List to test.txt
134luajit -ble "print('hello world') end" # List cmdline script 134luajit -ble "print('hello world') end" # List cmdline script
135</pre> 135</pre>
136<p>
137Note: A file in bytecode format is auto-detected and can be loaded like
138any Lua source file. E.g. directly from the command line or with
139<tt>loadfile()</tt>, <tt>dofile()</tt> etc. See also
140<a href="extensions.html#string_dump">string.dump()</a> for information
141on bytecode portability and compatibility.
142</p>
136 143
137<h3 id="opt_j"><tt>-j cmd[=arg[,arg...]]</tt></h3> 144<h3 id="opt_j"><tt>-j cmd[=arg[,arg...]]</tt></h3>
138<p> 145<p>