java-sql-generator
java-sql-generator copied to clipboard
Is there anything from the approach of turning the original BNF into this project's code that could be extracted?
I have been thinking for some time about generating EDSLs from BNF. Do you have any thoughts on this?
br, Matt
Hey Matt,
I really wanted to do some kind of automatic generation from BNF to what this project is now. Unfortunately, I didn't have any tools for that, so I pretty much did everything manually. With correct tools, however, I think it would be possible, to some extent.
The problem is that especially in SQL, the BNF syntax is sometimes a bit too complex. So you will end up with pretty much unusable framework as everything is so fragmented. You still need some manual work to look at the result of generation and make API actually nice to use. :) I know for sure that in case of SQL that is certainly required.