<commit_before>require 'formula'

class GnuProlog < Formula
  homepage 'http://www.gprolog.org/'
  url 'http://gprolog.univ-paris1.fr/gprolog-1.4.4.tar.gz'
  sha1 '658b0efa5d916510dcddbbd980d90bc4d43a6e58'

  # Upstream patch:
  # http://sourceforge.net/p/gprolog/code/ci/784b3443a0a2f087c1d1e7976739fa517efe6af6
  patch do
    url "https://gist.githubusercontent.com/jacknagel/7549696/raw/3078eef282ca141c95a0bf74396f4248bbe34775/gprolog-clang.patch"
    sha1 "8af7816a97bd1319fbd3ae52cedc02ccc9164d27"<commit_msg>gnu-prolog: add 1.4.4 bottle.<commit_after>require 'formula'

class GnuProlog < Formula
  homepage 'http://www.gprolog.org/'
  url 'http://gprolog.univ-paris1.fr/gprolog-1.4.4.tar.gz'
  sha1 '658b0efa5d916510dcddbbd980d90bc4d43a6e58'

  bottle do
    sha1 "8dc1b5782b6fb5e89c62fe3f5b07a908ddff6850" => :yosemite
    sha1 "faf4b9bd8c63bb89bc2217cde8ce0ea00866ddf8" => :mavericks
    sha1 "92366ec981d47a8f30a602b1b40cb4a1de99922c" => :mountain_lion
  end

  # Upstream patch:
  # http://sourceforge.net/p/gprolog/code/ci/784b3443a0a2f087c1d1e7976739fa517efe6af6
  patch do
    url "https://gist.githubusercontent.com/jacknagel/7549696/raw/3078eef282ca141c95a0bf74396f4248bbe34775/gprolog-clang.patch"
    sha1 "8af7816a97bd1319fbd3ae52cedc02ccc9164d27"
{'fraction_non_alphanumeric': 0.10742496050552923, 'fraction_numerical': 0.23222748815165878, 'mean_word_length': 5.398989898989899, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1836519', 'n_tokens_mistral': 751, 'n_tokens_neox': 614, 'n_words': 54}