Converter to turn DBML (Database Markup Language) files into Kotlin data classes.
While searching for tools to use for doing schema-first development of backend applications I ran into
DBML (Database Markup Language).
I found it quite interesting and decided that it would be fun to try to implement some sort of
automatic generation of code using only DBML. The idea was that this could then be developed further,
with more related tooling to handle migrations and database management.
With the automatic generation of dataclasses, this tool also integrates quite well with my other
library query4k.
The project is a simple CLI that takes your DBML files and then converts them to Kotlin files
at the specified destination. To get the converter working there are three main parts – a scanner,
a parser and a generator.
The project is currently not public on GitHub.