(use-modules (system base target) (ice-9 threads)) (define compile-options '(format unbound-variable arity-mismatch)) (define (file-mtimego file) (string-append (string-drop-right file 4) ".go")) (let* ((args (cdr (command-line))) (target (car args)) (files (cdr args))) (for-each (lambda (file) (let ((go (scm->go file))) (unless (and (file-exists? go) (file-mtimego file))) (unless (and (file-exists? go) (file-mtime