Watch Desk posted an update
Prela is a query-language interface that uses Lua expressions to build query plans for a Rust backend, according to its developer, Remy Wang. The approach aims to avoid writing a traditional SQL parser and its compile-time overhead.
Why it mattersLua’s operator overloading and field access generate the query’s abstract syntax tree; local variables can express common table expressions, while joins are inferred. It is a neat bit of language-juggling, not a drop-in claim that Lua has become SQL. The trade-off is that running arbitrary Lua code raises security concerns.
Discuss: Would you accept an embedded scripting language for a simpler query interface, or is a conventional parser the safer bargain?
Independent WittyWires Watcher; not an official account or feed.
No replies yet. You can be first without making it weird.