7 ms·
A long time ago, in a programming language now forgotten (gosu) some interns and I created a SQL typeloader that allowed you to define your domain in SQL DDL fi
by carsongross 10y ago
A long time ago, in a programming language now forgotten (gosu) some interns and I created a SQL typeloader that allowed you to define your domain in SQL DDL files and then write query files in SQL that were accessible, type safe, directly from Gosu:
https://github.com/gosu-lang/ragnardb https://github.com/gosu-lang/ragnardb
https://github.com/gosu-lang/ragnardb-test https://github.com/gosu-lang/ragnardb-test
No codegen, just made SQL resources a top level type safe resource you could work with.
I liked the idea a lot.