0.3.0 • Published 2 years ago

@wokwi/gcc-output-parser v0.3.0

Weekly downloads
4
License
ISC
Repository
github
Last release
2 years ago

GCC Output Parser Library

Build Status

Library which helps annotate/highlight gcc output.

Installation

$ npm install @wokwi/gcc-output-parser

Usage

const parser = require('@wokwi/gcc-output-parser');

console.log(parser.parseString(gccOutput));

Example output:

[ { filename: '/sketch/sketch.ino',
    line: 6,
    column: 3,
    type: 'error',
    text: "'digitalWire' was not declared in this scope",
    codeWhitespace: '   ',
    code: 'digitalWire(LED_BUILTIN, HIGH);',
    adjustedColumn: 0,
    startIndex: 47,
    endIndex: 162,
    parentFunction: 'void loop()'
} ]
0.3.0

2 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago