<commit_before>(define lib-directory "lib/")
(define lib-name "playground")
(define lib-suffix ".o1")

(define-task init ()
  (make-directory (current-build-directory)))

(define-task clean (init)
  (delete-file (current-build-directory))
  (delete-file lib-directory))

(define-task compile (init)
  (gambit-eval
    "
    (begin
     (define-cond-expand-feature sdl)
     (include \"~~prelude/prelude#.scm\")
     (compile-file \"module.scm\" output: \"build/playground.o1\"))"))

(define-task install (compile)
  (make-directory lib-directory)
  (delete-file (string-append lib-directory lib-name lib-suffix))
  (copy-file (string-append (current-build-directory) lib-name lib-suffix)
             (string-append lib-directory lib-name lib-suffix)))

(define-task all (compile install)
  '(compile and install))
<commit_msg>now using gambit-compile-here in sakefile<commit_after>(define lib-directory "lib/")
(define lib-name "playground")
(define lib-suffix ".o1")

(define-task init ()
  (make-directory (current-build-directory)))

(define-task clean (init)
  (delete-file (current-build-directory))
  (delete-file lib-directory))

(define-task compile (init)
  (gambit-eval-here
   '(begin
      (define-cond-expand-feature sdl)
      (include "~~prelude/prelude#.scm")
      (compile-file "module.scm" output: "build/playground.o1"))))

(define-task install (compile)
  (make-directory lib-directory)
  (delete-file (string-append lib-directory lib-name lib-suffix))
  (copy-file (string-append (current-build-directory) lib-name lib-suffix)
             (string-append lib-directory lib-name lib-suffix)))

(define-task all (compile install)
  '(compile and install))

{'fraction_non_alphanumeric': 0.15861657722122838, 'fraction_numerical': 0.002385211687537269, 'mean_word_length': 3.979228486646884, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5342891', 'n_tokens_mistral': 562, 'n_tokens_neox': 547, 'n_words': 122}