<commit_before>class Asm6 < Formula
  desc "6502 assembler"
  homepage "http://home.comcast.net/~olimar/NES/"
  url "http://home.comcast.net/~olimar/NES/asm6.zip"
  version "1.6"
  sha256 "b37956f37815a75a6712c0d1f8eea06d1207411921c2e7ff46a133f35f0b3e1d"

  def install
    system "#{ENV.cc}", "-o", "asm6", "asm6.c"
    bin.install "asm6"
  end

  test do
    (testpath/"a.asm").write <<-EOS
      org $c000
      jmp $fce2
    EOS

    system bin/"asm6", "a.asm"<commit_msg>asm6: fall back to Wayback Machine<commit_after>class Asm6 < Formula
  desc "6502 assembler"
  homepage "https://web.archive.org/web/20150601152433/http://home.comcast.net/~olimar/NES/"
  url "https://web.archive.org/web/20150601152433/http://home.comcast.net/~olimar/NES/asm6.zip"
  version "1.6"
  sha256 "b37956f37815a75a6712c0d1f8eea06d1207411921c2e7ff46a133f35f0b3e1d"

  def install
    system "#{ENV.cc}", "-o", "asm6", "asm6.c"
    bin.install "asm6"
  end

  test do
    (testpath/"a.asm").write <<-EOS
      org $c000
      jmp $fce2
    EOS

    system bin/"asm6", "a.asm"
{'fraction_non_alphanumeric': 0.153918791312559, 'fraction_numerical': 0.14447592067988668, 'mean_word_length': 3.3089430894308944, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3270985', 'n_tokens_mistral': 549, 'n_tokens_neox': 464, 'n_words': 76}