4 ms·
`elm-make --report=json MyFile.elm` gives the error messages as JSON; very easy to parse out line & col. It's how the vim plugin that there's a video of in the
by vilterp 11y ago
`elm-make --report=json MyFile.elm` gives the error messages as JSON; very easy to parse out line & col. It's how the vim plugin that there's a video of in the post was made.
- aidenn0 11y agoYes, but most text-editors can already parse out the format that the gnu compilers emit, so why not do that?