https://github.com/egor00f/luasqlite3-kolibrios
luasqlite3 port for KolibriOS
https://github.com/egor00f/luasqlite3-kolibrios
Last synced: 2 months ago
JSON representation
luasqlite3 port for KolibriOS
- Host: GitHub
- URL: https://github.com/egor00f/luasqlite3-kolibrios
- Owner: Egor00f
- License: mit
- Created: 2025-01-07T17:45:21.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-18T06:36:39.000Z (4 months ago)
- Last Synced: 2025-01-18T07:26:50.477Z (4 months ago)
- Language: C
- Size: 2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY
- License: LICENSE
Awesome Lists containing this project
README
# LuaSQLite3
LuaSQLite3 provides a means to manipulate SQLite3
databases directly from lua using Lua 5.There are two modules, identical except that one links
SQLite3 dynamically, the other statically.The module lsqlite3 links SQLite3 dynamically.
To use this module you need the SQLite3 library.
You can get it from http://www.sqlite.org/The module lsqlite3complete links SQLite3 statically.
The SQLite3 amalgamation source code is included in
the LuaSQLite3 distribution.Lua 5 is available from http://www.lua.org/
## Installation
1. install lua
2. move `lsqlite3.dll` to `/kolibrios/lib/lua`
3. rename(or copy) `/kolibrios/lib/sqlite.dll` to `/kolibrios/lib/libsqlite.dll`## Build
```
git clone https://github.com/Egor00f/lua-kolibrios.git
git clone https://github.com/KolibriOS/kolibrios.git
git clone https://github.com/Egor00f/luasqlite3-kolibrios.gitcd luasqlite3-kolibrios
make all
```## Tests
move repo to kolibrios filesystem and run `test/test.sh`.
Some tests need lunit. move luinit.lua to `/kolibrios/shard/lua`.