feature request: `dmd -v=json` to avoid custom parsing of -v
Timothee Cour via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jan 16 19:39:33 PST 2017
Would it make sense to have `dmd -v=json` to avoid custom parsing of -v ?
benefit:
* avoid having to maintain parsers for -v output (eg used in rdmd)
* current parser not forward/backward compatible with different dmd
releases (eg each time something is added, it can break the parser, eg
2.073 introduced `predefs DigitalMars Posix OSX ..`
* useable in tooling
* avoid corner cases (eg escaping spaces etc)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20170116/52ba9d05/attachment.html>
More information about the Digitalmars-d
mailing list