repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
s3/configure: Disable the automatic merged build.
[Samba.git]
/
source3
/
lua-5.1.4
/
test
/
luac.lua
blob
96a0a97ce7aa2704c9b8b409bcc14f1a80c746ca
1
-- bare-bones luac in Lua
2
-- usage: lua luac.lua file.lua
3
4
assert
(
arg
[
1
]~=
nil and
arg
[
2
]==
nil
,
"usage: lua luac.lua file.lua"
)
5
f
=
assert
(
io
.
open
(
"luac.out"
,
"wb"
))
6
assert
(
f
:
write
(
string
.
dump
(
assert
(
loadfile
(
arg
[
1
])))))
7
assert
(
f
:
close
())