Artifact 53598630e39eedca1d244050852960a27f2d2b2e:
- File serialize-env.scm — part of check-in [c1881425cb] at 2020-02-20 20:14:31 on branch v1.70-refactor02-chicken5 — Got all changes needed to get it to compile under chicken 5. Has some issues with the pathname resolutions, but should be very close (user: jmoon, size: 312) [annotate] [blame] [check-ins using]
(import z3) (import chicken.port chicken.process-context chicken.pretty-print base64) (let* ((env-str (with-output-to-string (lambda () (pp (get-environment-variables))))) (zipped-env-str (z3:encode-buffer env-str)) (b64-env-str (base64-encode zipped-env-str))) (print b64-env-str))