about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-10-10 13:31:41 +0000
committerTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-10-10 13:31:41 +0000
commit9350c8815d49cc49fc52df3d449f3c6d902d9119 (patch)
treeb6ddb4c4794184ffdceb488f8b9bd517431d930d /src
parent9d3efc3be6c049fd98b797de6aff31b19e03cc2e (diff)
downloadfocaccia-9350c8815d49cc49fc52df3d449f3c6d902d9119.tar.gz
focaccia-9350c8815d49cc49fc52df3d449f3c6d902d9119.zip
Dump Focaccia symbolic equations with indentation (to help debugging)
Diffstat (limited to 'src')
-rw-r--r--src/focaccia/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/focaccia/parser.py b/src/focaccia/parser.py
index e79d1c1..f115f3d 100644
--- a/src/focaccia/parser.py
+++ b/src/focaccia/parser.py
@@ -36,7 +36,7 @@ def serialize_transformations(transforms: Trace[SymbolicTransform],
     json.dump({
         'env': transforms.env.to_json(),
         'states': [t.to_json() for t in transforms],
-    }, out_stream)
+    }, out_stream, indent=4)
 
 def parse_snapshots(json_stream: TextIO) -> Trace[ProgramState]:
     """Parse snapshots from our JSON format."""