Replies: 1 comment
-
Can you give an example of pretty-printing you would like to have? Is this for the stdout output? You might want to write and register your own Note that you need set We could probably extend souffle to be able to call arbitrary write stream factories from a dynamically linked library (same way as functors). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am wondering if there is a technique that other people have used to pretty print relations.
Ideally, I would like to see a simple template language that could generate syntax text out of AST relations (think: Source -> AST -> Facts -> Outputs -> Annotated AST). But I am sure that is asking too much.
I guess using the API to traverse through the output facts?
Beta Was this translation helpful? Give feedback.
All reactions