Hi CGEN, I think this patch is about right. It stringifies the test data at a handy point where it's all being mapped over a list anyway, and now I get a working sim-build.sh and a tmpdir/ full of *.cgs scripts. * sim-test.scm (build-sim-testcase): Convert test-data and syntax-list items to strings. (cgen-build.sh): Stringify current-arch-name throughout. cheers, DaveK