24 lines
956 B
Markdown
24 lines
956 B
Markdown
# PCC Compiler (My C++ Compiler)
|
|
|
|

|
|

|
|

|
|
|
|
**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`.
|
|
- **Control Flow**: `if` statements support.
|
|
- **Functions**: Define and call `void` functions.
|
|
- **Native Compilation**: Compiles directly to x64 machine code.
|
|
|
|
## 🛠️ Usage
|
|
1. Download the latest release from the [Releases](../../releases) page.
|
|
2. Unzip the archive to C:/PCC/
|
|
3. Run `setup.bat` as Administrator.
|
|
4. Compile your code: `PCC.exe code.pcc`.
|
|
|
|
---
|
|
*Created by Michał Lewandowski*
|