On 2015-12-18 19:55, Adam D. Ruppe wrote:

Moreover, I wouldn't mind if the compiler had an error output format
that could spit out xml or something for computer consumption, with the
same level of detail (if not more). If I were overhauling it all, I'd
make all error messages inside the compiler be marked up to the max,
then the top layer prints them appropriately for the device it is
talking to (so disabling color on pipes, pretty printing for users, etc)

Seems like a really nice idea. Although, the (XML) output should contain the semantic meaning not how it should be displayed. That is, it should contain something like <no-match>int</no-match> rather than <red>int</red>.

--
/Jacob Carlborg

Reply via email to