bugfixes #66

Merged
pkulev merged 43 commits from bugfixes into main 2026-10-19 21:14:40 +02:00
Showing only changes of commit 449a53abf9 - Show all commits

View File

@@ -6,6 +6,7 @@
(chicken io) (chicken io)
(chicken pathname) (chicken pathname)
(chicken port) (chicken port)
(chicken flonum) ; flonum-print-precision
(chicken process) (chicken process)
(chicken process-context) (chicken process-context)
(chicken string) ; string-split (chicken string) ; string-split
@@ -93,6 +94,9 @@
(let* ((proc (process compiler (append (list "-o" compiled-file) flags))) (let* ((proc (process compiler (append (list "-o" compiled-file) flags)))
(sexc-stdin (process-input-port proc))) (sexc-stdin (process-input-port proc)))
(symbol-escape #f) (symbol-escape #f)
;; ...nor any double in the 15 digits CHICKEN prints by default,
;; which make 0.16666666666666666 another number
(flonum-print-precision 17)
(with-output-to-port sexc-stdin (with-output-to-port sexc-stdin
(fn (map (fn (fmt #t x)) src))) (fn (map (fn (fmt #t x)) src)))
(close-output-port sexc-stdin) (close-output-port sexc-stdin)