Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 895 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 895 Bytes

gcc output parser library

Build Status

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.