Artifact f4955b88d5fd2564170d65be2d2191bb6109dd12:
- File serialize-env.scm — part of check-in [0aa5896c79] at 2021-04-18 00:30:40 on branch v1.6584-ck5 — re-enabled serialize-env (user: matt, size: 418) [annotate] [blame] [check-ins using]
(module serialize-env * (import scheme z3 base64 chicken.port chicken.pretty-print chicken.process-context chicken.base ) (define (gen-output) (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)) ) ) (import serialize-env) (gen-output)