Hardware Design: SIE
Sign in or create your account
|
Project List
|
Help
Project Home
Downloads
Documentation
Issues
Source
Code Review
Source Tree
|
Change Log
|
How To Get The Code
Hardware Design: SIE Git Source Tree
Root
/
sie_fs
/
root
/
scripts
/
lua
/
test
/
luac.lua
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())
8
Download this file
Branches:
master
Main page
Current events
Mailing lists
Planet
Projects server
interactive
About Qi
Recent changes
Contact Qi
Help