25 lines
1.1 KiB
Markdown
25 lines
1.1 KiB
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`, `bool` and `string`.
|
|
- **include files**: you can include base files from compiler `#include <main.pcc>` or your own files `#include "myfile.pcc`.
|
|
- **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 `start.bat` as Administrator.
|
|
4. Compile your code: `PCC.exe code.pcc`.
|
|
|
|
---
|
|
*Created by Michał Lewandowski*
|