vmware-archive / sql-to-dbsp-compiler

Compiler translating SQL view definitions into DBSP circuits (https://github.com/vmware/database-stream-processor)
Other
28 stars 4 forks source link

Machine-readable error messages #115

Closed gz closed 1 year ago

gz commented 1 year ago

It would be good to be able to get error messages in a JSON format from the compiler so it's machine readable:

e.g., something like this (or similar) -- which is what monaco is using:

    [{
        startLineNumber: 2,
        startColumn: 17,
        endLineNumber: 2,
        endColumn: 24,
        message: 'Warning!',
  }, ...]