Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Lua to 5.2 or LuaJIT #2452

Closed
raphaelcohn opened this issue Oct 15, 2015 · 4 comments
Closed

Upgrade Lua to 5.2 or LuaJIT #2452

raphaelcohn opened this issue Oct 15, 2015 · 4 comments

Comments

@raphaelcohn
Copy link

It'd would be very useful to able to use Lua 5.2 (or the recently release 5.3) to write Lua writers (sic) in. There are minor compatibility changes, but these shouldn't be issues for nearly all scripts.

More valuable, though, would be to allow the use of LuaJIT. This lets authors of Lua writers ship code that calls C APIs without any need to build and dynamically link libraries. For instance, one could ship a Lua writer with a built in binding to libjpeg to do on-the-fly jpeg munging.

@jgm
Copy link
Owner

jgm commented Oct 15, 2015

You should bring this up at osa1/hslua.
I'm just relying on the existing Haskell bindings.

+++ Raphael Cohn [Oct 15 15 04:46 ]:

It'd would be very useful to able to use Lua 5.2 (or the recently
release 5.3) to write Lua writers (sic) in. There are minor
compatibility changes, but these shouldn't be issues for nearly all
scripts.

More valuable, though, would be to allow the use of LuaJIT. This lets
authors of Lua writers ship code that calls C APIs without any need to
build and dynamically link libraries. For instance, one could ship a
Lua writer with a built in binding to libjpeg to do on-the-fly jpeg
munging.


Reply to this email directly or [1]view it on GitHub.

References

  1. Upgrade Lua to 5.2 or LuaJIT #2452

@raphaelcohn
Copy link
Author

Looks like the existing Haskell bindings are going to stay with Lua 5.1 for the time being: hslua/hslua#5. That said, it seems to be possible to compile hslua to use a system-wide LuaJIT (indeed, their examples actually show using it with pandoc)! I'll take a look at modifying the Homebrew recipe for Mac to see if it's feasible.

@jgm
Copy link
Owner

jgm commented Oct 21, 2015

Can this issue be closed?

@raphaelcohn
Copy link
Author

Ok
On 21 Oct 2015 05:09, "John MacFarlane" notifications@github.com wrote:

Can this issue be closed?


Reply to this email directly or view it on GitHub
#2452 (comment).

@jgm jgm closed this as completed Oct 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants