SQLite Forum

programming sqlite bytecode directly ?
Is there a recommended guide/tutorial on programming https://sqlite.org/opcode.html directly ?

Possible application: suppose we want to write a datalog-like front end to sqlite:

  1. we use peg/packrat for parsing

  2. we emit some sqlite bytecode aka ("then a miracle happens")

  3. we execute said bytecode

How do we approach step 2 ?