Skip to content

GHCi output is not machine readable #7

@CrystalSplitter

Description

@CrystalSplitter

Even with GHCiD, GHCi responses are simply not machine parseable. There's no reliable grammar and there's no escape support. This is most obvious with the :show bindings GHCi builtin command with multi-line nested strings.

This is an upstream issue inherently, but is likely something we can provide a compelling need for and contribute the source code. A simple JSON reply (or some other format) seems easy enough to implement.

I would prefer not to ship with a custom version of GHC, so upstreaming such an effort is likely the only course of action here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingghci issueProblem lies in GHCi, not GHCiTUI.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions