<commit_before>class CrystalLang < Formula
  desc "Fast and statically typed, compiled language with Ruby-like syntax"
  homepage "https://crystal-lang.org/"
  url "https://github.com/crystal-lang/crystal/archive/0.19.4.tar.gz"
  sha256 "e239afa449744e0381823531f6af66407ba1f4b78767bd67a9bb09d9fcc6b9e4"
  head "https://github.com/crystal-lang/crystal.git"
  revision 1

  bottle do
    sha256 "b570dcde6496464362a19e2fb15379b7d1c1ad0f93bfd8bac9d587393912d887" => :sierra
    sha256 "b86cac1fe2230791ed3de32db48d0e7729b08ed647699e240c0ceef496fe0510" => :el_capitan
    sha256 "8077a0a4a922112ec2438dbb99fc01931c14222a1c33a66218ad28d91036cab7" => :yosemite
  end

  # changes from upstream to fix compilation with LLVM 3.9
  patch do
    url "https://github.com/crystal-lang/crystal/pull/3439.diff"
    sha256 "ee55985315881461f1fd2fb7ccc36b547d5defb23a91b022c760d84abe328fd9"
  end

  option "without-release", "Do not build the compiler in release mode"<commit_msg>crystal-lang: move llvm 3.9 patch to stable<commit_after>class CrystalLang < Formula
  desc "Fast and statically typed, compiled language with Ruby-like syntax"
  homepage "https://crystal-lang.org/"
  revision 1
  head "https://github.com/crystal-lang/crystal.git"

  stable do
    url "https://github.com/crystal-lang/crystal/archive/0.19.4.tar.gz"
    sha256 "e239afa449744e0381823531f6af66407ba1f4b78767bd67a9bb09d9fcc6b9e4"

    # Remove for > 0.19.4
    # changes already merged upstream to fix compilation with LLVM 3.9
    # https://github.com/crystal-lang/crystal/pull/3439
    patch do
      url "https://github.com/crystal-lang/crystal/commit/13b11d7.patch"
      sha256 "d981515791c48ae7fce0e906b0eec934fd622987a87f0614b3c91c71b0966b66"
    end
  end

  bottle do
    sha256 "b570dcde6496464362a19e2fb15379b7d1c1ad0f93bfd8bac9d587393912d887" => :sierra
    sha256 "b86cac1fe2230791ed3de32db48d0e7729b08ed647699e240c0ceef496fe0510" => :el_capitan
    sha256 "8077a0a4a922112ec2438dbb99fc01931c14222a1c33a66218ad28d91036cab7" => :yosemite
  end

  option "without-release", "Do not build the compiler in release mode"
{'fraction_non_alphanumeric': 0.08456760630673674, 'fraction_numerical': 0.22694696607740086, 'mean_word_length': 4.932011331444759, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 9, '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': '7283788', 'n_tokens_mistral': 1128, 'n_tokens_neox': 870, 'n_words': 135}