Hello Richard ! Now that you are refactoring on the schema parsing could be nice if somehow sqlite3 expose the schema/sql parser for developers.
A kind of sax style parser, with callbacks given option to do some rewrite/extend syntax ? (ideas welcome) An interesting project can be seem here : https://github.com/codeschool/sqlite-parser demo : https://codeschool.github.io/sqlite-parser/demo/ Cheers ! ? ?