[ very off topic ]
Michael Meskes <meskes(at)postgresql(dot)org> writes:
> I already have to manually sync code (preproc.y <=> gram.y) and don't
> like the idea of having to do it with a lot more code.
I've been wondering for quite awhile if we couldn't find a way to avoid
manually duplicating the backend grammar in preproc.y. Seems like a
script could handle 99% of the conversion, generating the very stylized
actions you need.
regards, tom lane