Aryeh Gregor wrote:
On Wed, Dec 24, 2008 at 3:25 PM, Nikola Smolenski smolensk@eunet.yu wrote:
It is, as there exist various database abstraction classes, somewhat similar to each other, a lot of people have worked with.
If the domain-specific language is SQL-like, that benefit would exist for it too, in fact even more so.
Add to that the benefits of your editor not able to highlight the code and no way to immediately see syntax errors and similar.
Syntax errors in a domain-specific language would often be logic errors in something shoehorned on top of PHP arrays, which your editor won't be able to highlight anyway. Plus, if it's SQL-like (and why shouldn't it be?), your editor probably *will* be able to highlight the code.
Then we're going to option 2 instead of option 3. I also find option 2 better than 3, but from Jesús message I understood it was #3 which was being considered.