-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
23 lines (20 loc) · 701 Bytes
/
Copy pathbuild.bat
File metadata and controls
23 lines (20 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
title CoffinScript Toolchain Build Driver
echo =======================================================
echo csc Compiler Builder Engine (customasm Target)
echo =======================================================
where customasm >nul 2>nul
if %errorlevel% neq 0 (
echo [ERROR] customasm utility was not found in your system PATH.
echo Please install customasm (https://github.com) and try again.
pause
exit /b 1
)
echo Packing machine tokens into flat binary layout...
customasm csc.asm -f binary -o csc.bin
if %errorlevel% equ 0 (
echo [SUCCESS] csc.bin generated successfully!
) else (
echo [ERROR] Compilation failed. Check csc.asm syntax.
exit /b 1
)