Replies: 1 comment 4 replies
-
I never used C++, let alone C++ together with lua/teal but as far as I know you can ask lua to run the tl.tl script and then load in a teal file through require. I do the same thing for my Rust project and it works fine. There I basically run local tl =(function()
//entirety of the tl.tl script
end)()
tl.loader()
require "path/to/tl/file/I/want/to/load" |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Could I use tl from C++? I am using sol2 C++ library to work with lua from C++. Could I "upgrade" lua with tl?
Beta Was this translation helpful? Give feedback.
All reactions