SQLite Forum

Constexpr parsing of sql statement
Login
> So why not use the C parser?

I presume you mean "why not use the C++ compiler?"

The SQLite library is designed to be used on a wide variety of systems, including embedded systems where, typically, C++ compilers either do not exist or lag far behind the modern (and still evolving) C++ language.

I agree that C code can be made to compile as C++ (without using non-C features), and is sometimes made better for it. But that does not make it sensible for every project.