Skip to content

wordijp/cLuaJIT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README for cLuaJIT 2.0.4u3

============================

forked by LuaJIT(v2.0.4)
Lua script convert to binary(for LuaJIT version)

glue code with LuaDist/srlua(using to uLua - 秀丸マクロ.net)

archive files with wordijp/cluajitar

usage

basic

$ echo 'print("hello world")' > hello.lua

$ lua hello.lua
hello world

$ cluajit hello.lua
hello world

$ cluajit hello.lua hello.o -link
$ ./hello.o
hello world

archive files

files

-- foo.lua
local m = {}
function m.say()
  print("from foo")
end
return m
-- hello.lua
local foo = require("foo")
print("hello world")
foo.say()

convert and run

# first source code is main program
$ cluajit hello.lua foo.lua hello.o -link

# delete source code
$ rm hello.lua foo.lua

$ ./hello.o
hello world
from foo

binaries

Windows binaries

about LuaJIT

LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.

Project Homepage: http://luajit.org/

LuaJIT is Copyright (C) 2005-2016 Mike Pall. LuaJIT is free software, released under the MIT license. See full Copyright Notice in the COPYRIGHT file or in luajit.h.

Documentation for LuaJIT is available in HTML format. Please point your favorite browser to:

doc/luajit.html

About

Mirror of the LuaJIT git repository

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 83.7%
  • Lua 13.6%
  • Makefile 1.1%
  • Other 1.6%