Skip to content

docs: add example how to print constraints in compiled constraint system #1640

@ivokub

Description

@ivokub

Discussed in #1637

Originally posted by sshravan October 31, 2025
Hi! Is there a way to view the compiled constraint system in gnark?

I am looking for something similar to the visual view available on https://play.gnark.io/, as mentioned in this PR discussion.


This has been asked several times. I think minimally we should have an example in the examples directory. Or we could have a shorthand shortcut which does the type assertion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions