<commit_before>class Befunge93 < Formula
  desc "Esoteric programming language"
  homepage "https://catseye.tc/article/Languages.md#befunge-93"
  url "https://catseye.tc/distfiles/befunge-93-2.25.zip"
  version "2.25"
  sha256 "93a11fbc98d559f2bf9d862b9ffd2932cbe7193236036169812eb8e72fd69b19"
  license "BSD-3-Clause"
  head "https://github.com/catseye/Befunge-93.git", branch: "master"

  bottle do
    rebuild 1
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "05324749e9d37d4bdf4b6737ddcc2f48489755c60a38752f4cf8dc51e1b93085"
    sha256 cellar: :any_skip_relocation, big_sur:       "bba6c29ce6655061c2f0323b1ee778c275e0bc18f850158274a03af1ea666fc6"
    sha256 cellar: :any_skip_relocation, catalina:      "190fa82b0fef31f096a102f3b33205112cb206f578813f7ac78f78617c7d73d3"
    sha256 cellar: :any_skip_relocation, mojave:        "23dd470caf59b04ffb652e46061760701269a8a79ce93c3afd71318da000112d"
    sha256 cellar: :any_skip_relocation, high_sierra:   "c8a1e2085413dd0da3036462eeffed2f01198da92f128f4951c0885bf69a0149"
    sha256 cellar: :any_skip_relocation, x86_64_linux:  "4f71eb1910501903b8af94c21352759032696046be49995beb95caead85a8398"
  end

  def install
    system "make"
    bin.install Dir["bin/bef*"]
  end

  test do
    (testpath/"test.bf").write '"dlroW olleH" ,,,,,,,,,,, @'
    assert_match "Hello World", shell_output("#{bin}/bef test.bf")
  end
end<commit_msg>befunge93: add livecheck<commit_after>class Befunge93 < Formula
  desc "Esoteric programming language"
  homepage "https://catseye.tc/article/Languages.md#befunge-93"
  url "https://catseye.tc/distfiles/befunge-93-2.25.zip"
  version "2.25"
  sha256 "93a11fbc98d559f2bf9d862b9ffd2932cbe7193236036169812eb8e72fd69b19"
  license "BSD-3-Clause"
  head "https://github.com/catseye/Befunge-93.git", branch: "master"

  livecheck do
    url "https://catseye.tc/distribution/Befunge-93_distribution"
    regex(/href=.*?befunge-93[._-]v?(\d+(?:\.\d+)+)\.zip/i)
  end

  bottle do
    rebuild 1
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "05324749e9d37d4bdf4b6737ddcc2f48489755c60a38752f4cf8dc51e1b93085"
    sha256 cellar: :any_skip_relocation, big_sur:       "bba6c29ce6655061c2f0323b1ee778c275e0bc18f850158274a03af1ea666fc6"
    sha256 cellar: :any_skip_relocation, catalina:      "190fa82b0fef31f096a102f3b33205112cb206f578813f7ac78f78617c7d73d3"
    sha256 cellar: :any_skip_relocation, mojave:        "23dd470caf59b04ffb652e46061760701269a8a79ce93c3afd71318da000112d"
    sha256 cellar: :any_skip_relocation, high_sierra:   "c8a1e2085413dd0da3036462eeffed2f01198da92f128f4951c0885bf69a0149"
    sha256 cellar: :any_skip_relocation, x86_64_linux:  "4f71eb1910501903b8af94c21352759032696046be49995beb95caead85a8398"
  end

  def install
    system "make"
    bin.install Dir["bin/bef*"]
  end

  test do
    (testpath/"test.bf").write '"dlroW olleH" ,,,,,,,,,,, @'
    assert_match "Hello World", shell_output("#{bin}/bef test.bf")
  end
end
{'fraction_non_alphanumeric': 0.10309629125552909, 'fraction_numerical': 0.23613473970738347, 'mean_word_length': 5.5625, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 7, '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': '6137241', 'n_tokens_mistral': 1660, 'n_tokens_neox': 1289, 'n_words': 157}