Re:Writing code that writes code – Hack Codegen
by ArkyBeagle on Thursday August 20, 2015 @11:08PM
(#10095790)
There's an intermediate approach - use a generator to spew out tables of data that an engine-type thing uses to adapt to boilerplate style variations.
This is totally a 'C' hacker's approach but it's not bad
for some things - especially serialization and the like. But it will need some generic reference mechanism - as void * is used in 'C' - to work.
This is totally a 'C' hacker's approach but it's not bad for some things - especially serialization and the like. But it will need some generic reference mechanism - as void * is used in 'C' - to work.