Git Product home page Git Product logo

Comments (3)

agentzh avatar agentzh commented on July 29, 2024

@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.

ssdr avatar ssdr commented on July 29, 2024

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.

agentzh avatar agentzh commented on July 29, 2024

@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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.