Wednesday, 28 August 2013

Makefile Grammar

Makefile Grammar

Is there anywhere a precise makefile grammar definition? Or at least some
common subset since it guess that there are some flavors. Such a grammar
that would could be used for writing a parser.
GNU Make manual doesn't seem to be that precise. It would require some
guessing and trial-and-error to write a parser for makefile based on that
document.
I also found a similar question on ANTLR mail list. But it remained
unanswered which kind of suggests the answer...

No comments:

Post a Comment