The author is developing an analysis tool called sqleibniz for SQLite dialect, aiming to provide syntax checks and table/column/function existence validation for SQL input, along with high-quality error messages and the ability to mute diagnostics. They plan to create an LSP server for SQL in the future. Switching from TOML to Lua allows for scripting capabilities to write custom plugins/hooks. The author explains implementing rust to lua conversion using the mlua package and customizing serialization for lua functions. The article concludes with an example of how the configuration interacts with the sqleibniz tool, handling errors gracefully.
https://xnacly.me/posts/2024/embed-lua-in-rust/