Call Lua clibs (so/dll) from SciTE

32 views
Skip to first unread message

Gavin Holt

unread,
Aug 13, 2024, 8:08:14 PMAug 13
to scite-interest
Hi,

Having tried hard to keep away from binary extensions, I would like to run snippets of Lua code within SciTE - that use sqlite3 databases.

This code is eventually going to be called from Civetweb, and therefore uses lsqlite (no version reported). Civetweb is a 64bit single binary web server for local files, also statically linking Lua (5.2), sqlite (version 3.33.0) and more.

My preferred SciTE is :
I would be very grateful to know if anyone has a compiled lsqlite3complete.dll file, that they are able to share, and that can be required by Sc1.exe?

As some may remember, I do not have (and do not want) a compiler, and have previously scoured the web for compatible binary DLLs  to extend Lua (and SciTE).

Kind Regards Gavin Holt

PS. I did read "Issue with SciTE v 4.1.2.0 and above - luaL_register has removed"  but didn't really understand: does this outlaw, for all time,  any binary extensions for SciTE?


Neil Hodgson

unread,
Aug 16, 2024, 6:55:02 PMAug 16
to scite-interest
Gavin Holt:

> PS. I did read "Issue with SciTE v 4.1.2.0 and above - luaL_register has removed" but didn't really understand: does this outlaw, for all time, any binary extensions for SciTE?

This is a break in binary compatibility between Lua versions so it may be possible to use Lua extensions that have been upgraded and built against Lua 5.3 (or 5.4) which is the version in SciTE.

I'm more familiar with the Python world where the main repository PyPI will often have various binaries for extensions. Perhaps there is a Lua equivalent of PyPI now.

Neil

Reply all
Reply to author
Forward
0 new messages