Cache Building of Pegged-Generated Parsers in a DUB Project

Stefan Koch via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Nov 26 04:09:32 PST 2014


On Wednesday, 26 November 2014 at 10:26:05 UTC, Nordlöw wrote:
> I want to cache parsers generated by Pegged grammars in a DUB 
> project by writing the generated parser strings to files.
>
> Is it possible to add this build logic somewhere in DUB or do I 
> have to resort to SCons for this?

preBuildCommand in check if the files are there
if not generate them if yes do nothing


More information about the Digitalmars-d-learn mailing list