Comments (3)
@ssdr Weird. lua-releng
works perfectly on my side with your test.lua
sample:
$ lua-releng
test.lua: 0.0.1 (0.0.1)
Checking use of Lua global variables in file test.lua...
op no. line instruction args ; code
2 [4] SETGLOBAL 0 -2 ; g
5 [5] GETGLOBAL 3 -2 ; g
8 [6] SETGLOBAL 1 -4 ; gg
Checking line length exceeding 80...
What version of luac is in your PATH? Mine is like this:
$ luac -v
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
And this is on Linux x86_64. Good luck!
from openresty-devel-utils.
hey,
sorry for late reply.
my luac version:
Lua 5.2.3 Copyright (C) 1994-2013 Lua.org, PUC-Rio
by the way, it’s on Mac OSX:
Darwin localhost 14.4.0 Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64
刘 岩
Tel:18611127056
Email:[email protected]
"If everything seems under control, you are not going fast enough."
在 2015年8月4日,21:56,Yichun Zhang [email protected] 写道:
@ssdr https://github.com/ssdr Weird. lua-releng works perfectly on my side with your test.lua sample:
$ lua-releng
test.lua: 0.0.1 (0.0.1)
Checking use of Lua global variables in file test.lua...
op no. line instruction args ; code
2 [4] SETGLOBAL 0 -2 ; g
5 [5] GETGLOBAL 3 -2 ; g
8 [6] SETGLOBAL 1 -4 ; gg
Checking line length exceeding 80...
What version of luac is in your PATH? Mine is like this:$ luac -v
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
And this is on Linux x86_64. Good luck!—
Reply to this email directly or view it on GitHub #4 (comment).
from openresty-devel-utils.
@ssdr No, your Lua version is wrong. We require Lua 5.1 here. Lua 5.2 is a quite different language anyway and thus different bytecodes.
from openresty-devel-utils.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openresty-devel-utils.