CG-SQL
CG-SQL copied to clipboard
CG/SQL is a compiler that converts a SQL Stored Procedure like language into C for SQLite. SQLite has no stored procedures of its own. CG/CQL can also generate other useful artifacts for testing and...
https://github.com/ricomariani/CG-SQL-author is the new maintained fork.
CQL current language syntax is generally not common to other popular languages used for mobile development: Swift, Kotlin, TypeScript, etc We’d like to integrate into the CQL language a set...
Rewrite shared fragment to look like function calls: ``` @attribute(cql:shared_fragment) CREATE PROCEDURE ShapeDeclaration() BEGIN SELECT NULL_TEXT text_column, NULL_INT int_column, TRUE bool_column WHERE FALSE; END @attribute(cql:shared_fragment) CREATE PROCEDURE RowAdder() BEGIN WITH...
I've just created the first draft of an online playground for `CG-SQL` with `Lua` runtime at https://mingodad.github.io/CG-SQL-Lua-playground/ . The repository is at https://github.com/mingodad/CG-SQL-Lua-playground . Any feedback is welcome !
After this reply https://github.com/facebookincubator/CG-SQL/pull/150#issuecomment-1302502196 I started thinking about it and discovered that the code generated doesn't have any prefix and this can lead to name clash with internal function/variable names...