particle-iot/gcc-output-parser

Name: gcc-output-parser

Owner: Particle

Description: gcc error parsing library

Created: 2015-06-03 13:37:38.0

Updated: 2018-05-24 14:42:44.0

Pushed: 2018-01-03 18:28:30.0

Homepage: null

Size: 17

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

gcc output parser library

Build Status

Library which helps annotate/highlight gcc output.

Installation
m install gcc-output-parser
Usage
parser = require('gcc-output-parser');

ole.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 } ]

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.