SQLite VM-based programming language
A programming language implemented on top of SQLite's virtual machine (VDBE). Rather than exposing the VDBE for hand-written bytecode, it extends SQLite's parser to support constructs like `let <var> = <expr>` and functions, and ships a standard library for building web servers and similar applications. Planned features include transactional functions via function coloring (like async functions), where each function call opens a new savepoint that the user can roll back if the call goes wrong.
What it addresses
Exposing SQLite's VDBE directly for hand-made bytecodes would require too much effort for a side project, so the language extends SQLite's parser instead; managing execution state is the current challenge being addressed with transactional functions using savepoints.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
SQLite VM-based programming language
A programming language implemented on top of SQLite's virtual machine (VDBE). Rather than exposing the VDBE for hand-written bytecode, it extends SQLite's parser to support constructs like `let <var> = <expr>` and functions, and ships a standard library for building web servers and similar applications. Planned features include transactional functions via function coloring (like async functions), where each function call opens a new savepoint that the user can roll back if the call goes wrong.
Problem: Exposing SQLite's VDBE directly for hand-made bytecodes would require too much effort for a side project, so the language extends SQLite's parser instead; managing execution state is the current challenge being addressed with transactional functions using savepoints.
Posted by @SchwKatze · Original source ↗
Source text · @SchwKatze · · Source ↗
I'm doing a PL based on SQLite's VM. I first tried to expose the VDBE to public usage, so it could be easier to right hand-made bytecodes, but it would require an effort that I'm not quite have to a side project. So instead I'm extending SQLite's parser to accept things like `let <var> = <expr>`, and functions. Alongside, I'm doing a "standard library" so you could build web servers and stuff.