{"repo":"isaacbrodsky/duckdb-lua","free":true,"listed":false,"github":"https://github.com/isaacbrodsky/duckdb-lua","clone":"git clone https://github.com/isaacbrodsky/duckdb-lua.git","description":"DuckDB extension to evaluate Lua expressions.","language":"C++","stars":12,"topics":["duckdb","lua","duckdb-extension"],"license":"MIT","category":"databases-storage","readme_excerpt":"Lua This extension adds the embedded scripting language Lua to DuckDB. Lua is a powerful, small, embedded, and free scripting language. Install via community extensions: Evaluate a Lua expression in SQL: Returns \"ab\" . For the context parameter, you can pass in strings, integers, floats, booleans, and so on. Except for JSON input, the return type will be VARCHAR. If an error is encountered, the error message will be returned instead. If you pass in JSON type data, it will be deserialized for you on the Lua side and the Lua return value will also be JSON serialized. If you wish to rename the context variable, use the following option: Building Managing dependencies DuckDB extensions uses VCPKG for dependency management. Enabling VCPKG is very simple: follow the installation instructions or just run the following: Note: VCPKG is only required for extensions that want to rely on it for dependency management. If you want to develop an extension without dependencies, or want to do your own dependency management, just skip this step. Note that the example extension uses VCPKG to build with a dependency for instructive purposes, so when skipping this step the build may not work without removing the dependency. Build steps Now to build the extension, run: The main binaries that will be built are: - duckdb is the binary for the duckdb shell with the extension code automatically loaded. - unittest is the test runner of duckdb. Again, the extension is already linked into the binary. - l","default_branch":null,"files":null,"tree":[],"storefront":"/r/isaacbrodsky","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/isaacbrodsky/duckdb-lua/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}