Skip to content

Make simc output more machine-readable #179

@schoen

Description

@schoen

Project

compiler

Describe the feature

Right now, when you compile a SimplicityHL file, you get textual output with either 2 or 4 lines, where the base64-encoded compiled program appears on line 2 and the serialized witness, if present, appears on line 4.

This isn't exactly hard to parse, but it feels kind of awkward to be specifying line numbers of output in order to retrieve these objects. Could we have an option to save these into files? Or an option for JSON output that we could then parse with a JSON parser, like with much of the hal-simplicity output?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions