feat: open and load file into memory

This commit is contained in:
Stevan Freeborn
2026-07-14 08:16:54 -05:00
parent bf2d9755c4
commit 157aff6ab4
4 changed files with 1342 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
Write-Host "[Compiling...]"
gcc main.c -o ./.bin/chip.exe
if ($LASTEXITCODE -ne 0) {
Write-Host "[Failed to compiled]";
exit 1;
}
Write-Host "[Compiled successfully]";
Write-Host "[Running..]"
Write-Host "`n"
./.bin/chip.exe $args[0]