Artifact cdbc1fa795b960cdfa7a5e1f3ab7da360ecd348e:
- File serialize-env.scm — part of check-in [829acf0839] at 2022-01-14 06:25:50 on branch v2.0001 — Fixed serialize to be compatible with scm (user: matt, size: 400) [annotate] [blame] [check-ins using] [more...]
(module serialize-envmod * (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)) ) (gen-output) )