On Thu, Oct 22, 2015 at 1:40 PM, YUriy Zhuravlev
<u.zhuravlev@postgrespro.ru> wrote:
> On Thursday 22 October 2015 13:25:52 you wrote:
>> It would be more useful, if we're going to autogenerate code,
> Are we going to use autogenerate code?
I thought that's what you were proposing. Process the struct
definitions and emit .c files.
>> to do it from the actual struct definitions.
> I can gen xml/json from actual struct. I offered XML/JSON as the analysis of C
> code much more difficult. But my current generator just use the structure from
> the header files (by pycparser).
Anything that is part of the build process will have to be done in C or Perl.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company