Skip to content

Idiomatic way to call Lua function? #484

Answered by hugomg
JLPLabs asked this question in Q&A
Discussion options

You must be logged in to vote

Currently this can be a bit difficult because we don't have require. We're working on implementing require, but it's not ready yet.

The workaround that is possible for now is that you can have Lua call a Pallene function, passing a Lua function as an argument. Or even passing a table of functions.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JLPLabs
Comment options

Answer selected by JLPLabs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants