Support for PUC Lua - #320
Open
elliottslaughter wants to merge 1 commit into
Open
Conversation
elliottslaughter
force-pushed
the
puc_lua_master
branch
from
November 30, 2018 18:24
5cb9363 to
cb32e6b
Compare
Closed
elliottslaughter
force-pushed
the
puc_lua_master
branch
from
August 23, 2019 23:08
7d7ae44 to
642b312
Compare
elliottslaughter
force-pushed
the
puc_lua_master
branch
4 times, most recently
from
September 29, 2019 21:12
0526fa7 to
0198922
Compare
elliottslaughter
force-pushed
the
puc_lua_master
branch
from
October 11, 2019 18:28
0198922 to
c4ca81c
Compare
elliottslaughter
force-pushed
the
puc_lua_master
branch
from
January 29, 2020 19:44
2ee2bb4 to
52ab569
Compare
elliottslaughter
force-pushed
the
puc_lua_master
branch
from
January 29, 2020 20:02
52ab569 to
55726b3
Compare
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This branch adds support for compiling Terra against PUC Lua (i.e. the original Lua implementation). Support for LuaJIT is preserved and existing users should be unaffected. Currently Lua version 5.1 is required.
To test, build as follows:
The current support is sufficient to define Terra functions, and to call
terralib.saveobj. Directly calling Terra tasks from within the same process is not supported. The limiting factor here is that theffilibrary for Lua is not portable, so this support needs to be reimplemented in a portable way. In theory, this should be doable by JIT'ing the necessary glue code from Terra, but this is not yet implemented.This branch is most beneficial on architectures like PPC64le, where LuaJIT is currently unsupported.