gcc-output-parser
v0.1.0
Published
gcc output parsing library
Downloads
15
Readme
gcc output parser library
Library which helps annotate/highlight gcc
output.
Installation | Usage | Releasing
Installation
$ npm install gcc-output-parser
Usage
var parser = require('gcc-output-parser');
console.log(parser.parseString(gccOutput));
example output:
[ { filename: 'HolidayButton.cpp',
line: 4,
column: 37,
type: 'fatal error',
text: 'ParticleButton/ParticleButton.h: No such file or directory',
codeWhitespace: ' ',
code: 'void onCheer(const char *topic, const char *data);',
adjustedColumn: 36 } ]
Releasing
See the release process in the RELEASE.md file.