News for hackers. Stuff that matters.
Re:What the heck is a parser-combinator? by majewsky on Wednesday June 21, 2017 @04:48AM (#14602035)
> We were converting SQL for Oracle to SQL for Microsoft SQL Server.

I had a similar problem a few months ago with a Golang application that uses Postgres in production, but SQLite for unit tests. Since Go's SQL support has pluggable driver backends, I made a generic proxy driver [1] that can rewrite the incoming query, and used that in my application to rewrite from Postgres to SQLite syntax [2].

[1] https://godoc.org/github.com/majewsky/sqlproxy

[2] https://github.com/sapcc/limes/blob/205f9980a41d75fc0315e0ac...

Re:What the heck is a parser-combinator? by SteveBash on Thursday June 22, 2017 @10:51PM (#14616841)
Why just not use a local postgres instead of sqlite, your case seems like overengineering to me.