Add Hack assembler implementation and project files

This commit is contained in:
2025-10-06 23:49:11 -04:00
parent 1853f8070e
commit ed1df6332a
5 changed files with 399 additions and 2 deletions

View File

@@ -5,8 +5,8 @@ import sys
import os
def count_bunny(filepath):
# Count "bunny" occurrences in a single file
# Skips comment lines and inline comments (anything after #)
# count "bunny" occurrences in a single file
# skips comment lines and inline comments (anything after #)
count = 0
with open(filepath, 'r') as f:
for line in f: