lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




On Mon, Mar 12, 2018 at 12:43 PM, Joshua Jensen <josh.jjensen@gmail.com> wrote:
Sean Conner wrote on 3/12/2018 1:34 PM:
It was thus said that the Great Joshua Jensen once stated:
Sean Conner wrote on 3/11/2018 6:54 PM:
It was thus said that the Great Dirk Laurie once stated:
2018-03-11 18:23 GMT+02:00 Russell Haley <russ.haley@gmail.com>:

Josh Jensen has already created a very complete "batteries included"
distribution called LuaPlus.
Does it work for Lua 5.3 under Linux?
   This seems to be the repository:
   https://github.com/jjensen/luaplus51-all
and I don't see mention of Lua 5.2 or higher.  Also, there isn't much
description about what LuaPlus actually offers.  The code seems to be 50% C
and 50% C++ with a seemingly scary amount of IDE specific files.
Yes, LuaPlus has Lua 5.3 working under Linux. Or, at least, it is
working fine under Ubuntu 16.04 and Ubuntu 17.10, the last two versions
I tested against, Ubuntu 17.10 being just last night.

I do not know what you are referring to as a scary amount of IDE
specific files. Would you care to elaborate?
   I checked the Github repository and saw this list of files at the top level:

        BootstrapJamPlus-linux64
        BootstrapJamPlus-macosx64
        BootstrapJamPlus.bat
        CreateJamLinuxWorkspace.config
        CreateJamLinuxWorkspace.sh
        CreateJamWindowsWorkspace.config
        CreateJamXcodeWorkspace.config
        CreateJamXcodeWorkspace.sh
        CreateVS2010Workspace.bat
        CreateVS2013Workspace.bat
        CreateVS2015Workspace.bat
        CreateVS2017Workspace.bat
        Jamfile.jam
        LUAPLUS.jamrules
        License.txt
        README.md
        changelog.txt

   There are files there for VS2013, VS2017, XCode and JamLinuxWorkspace (?).
As someone who doesn't use IDEs [1], this to me comes across as "IDE
heavy---non IDE users need not apply".
Ah, I was thinking you were referring to actual IDE files like Visual Studio's .sln/.vcxproj/whatever files or Xcode's .xcodeproj. If you're only worried about a top level helper shell script or batch file to get a user started, then there is little concern.

All builds within LuaPlus are done out-of-source. CreateJamLinuxWorkspace.sh bootstraps an out-of-source .build/ directory. Easy peasy.

Likewise, the CreateVS*Workspace.bat files or the CreateJamXcodeWorkspace.sh script creates out-of-source build directories for those various IDEs/compilers. I build multiple Visual Studio compilers within the same directory tree. It's nice.

-Josh

If I had more than an observers experience with the jam tools, I'd argue (for the sake of argument and not to dictate) that the Lua team should move over to jam and jamplus (jam + Lua!) as it's completely cross platform, MIT licensed and understands C dependencies. If Lua started using jam, a compiler and linker are all that is variable when building Lua and other developers can standardize on the same toolset. If combined with with the likes of LuaBuild and LuaRocks (yes, I know it has it's own build system) a very complete toolchain could be provided. 

Integrate the LuaBuild system with jam and I think you've got a real winner. It's not a standard library, but it would take much of the pain out of trying to put one together. 


Russ