After close reading of the SyGuS spec (and attempting to implement SyGuS-to-CHC on-the-fly conversion), I noticed that the parser currently wants the grammar block to be wrapped in a list:
(synth-fun f ((name String)) String
( ;; <-- grammar block start here
((A Int) (B Bool))
((A Int (...))
(B Bool (...)))
) ;; <-- grammar block end here
)
but the SyGuS spec doesn't prescribe this outer wrapping, being just:
After close reading of the SyGuS spec (and attempting to implement SyGuS-to-CHC on-the-fly conversion), I noticed that the parser currently wants the grammar block to be wrapped in a list:
but the SyGuS spec doesn't prescribe this outer wrapping, being just: