mirror of
https://github.com/soconnor0919/eceg431.git
synced 2025-12-11 06:34:43 -05:00
Add Hack assembler implementation and project files
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user