Files
PCCCompiler/README.md
2026-02-06 15:35:41 +00:00

1.2 KiB

PCC Compiler (My C++ Compiler)

Version Status Language Platform

PCC Compiler is a custom programming language compiler built from scratch in C++. It translates PCC code into x64 Assembly (NASM), which is then linked into a standalone Windows executable.

🚀 Features

  • Custom Syntax: C-like syntax easy for beginners.
  • Variables: Support for int and bool types.
  • Control Flow: if statements support.
  • Functions: Define and call void functions.
  • Math Operations: Basic arithmetic (+, -, ==).
  • Native Compilation: Compiles directly to machine code (via NASM).

🛠️ Installation & Usage

Prerequisites

To compile code, you need:

  • NASM (Netwide Assembler)
  • GoLink (Linker)
  • Note: These tools must be added to your system PATH.

Quick Start

  1. Download the latest release from the Releases page.
  2. Unzip the archive.
  3. Run start.bat as Administrator.
  4. Use the compiler in the terminal:
PCC.exe my_script.pcc