Hello, as I'm firstly to explore the development process: Simply, I need to build some Lua extensions (DLLs; C/C++ source → .dll) (e.g. Excel workbooks (.xls) reader) to work with ConTeXt (works with ConTeXt v. 2021.12.30 (Lua 5.3) well so far), MS VisualStudio as compiler. Normally - so far - there is something like this in my code:
#include "d:/Lukas/Cpp/Lua/53/include/lua.hpp" #pragma comment(lib, "d:/Lukas/Lua/53.x32/lua53.lib") Where do I find the appropriate lua.hpp and lua55.lib (at least to try) to build the Lua module to work with the latest ConTeXt? (E.g. web links would be fine as I don't get oriented well in the TeX / LuaMetatTeX / ConTeXt "space"...) Best, Lukas čt 2. 1. 2025 v 20:05 odesílatel Hans Hagen <j.ha...@xs4all.nl> napsal: > > On 1/2/2025 5:55 PM, LPr Pontex wrote: > > Hello, > > > > which Lua version does ConTeXt use? The following: > > > > echo print('== ConTeXt: this is ' .. _VERSION .. ' ==') > CtxLuaVer~.lua > > tex\texmf-mswin\bin\luametatex.exe --luaonly CtxLuaVer~.lua > CtxLuaVer~.log > > > > yields > > > > == ConTeXt: this is Lua 5.5 == > > > > whilst the latest Lua version released on https://www.lua.org is 5.4.7. > > > > (I need this for possible building DLL extension(s) - Lua module(s) - > > to ConTeXt.) > > - luametatex is kind of self contained and has lua compiled in > > - we use 5.5 because it's fun, shows what is coming, we have a huge > codebase so can test it, etc (we only update when the test suite has no > issues, and there seldom are) > > - the source that we use is in the distribution so you can use that > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > _______________________________________________ > dev-context mailing list -- dev-context@ntg.nl > To unsubscribe send an email to dev-context-le...@ntg.nl _______________________________________________ dev-context mailing list -- dev-context@ntg.nl To unsubscribe send an email to dev-context-le...@ntg.nl