Welcome to PCC Documentation
PCC (PCC Compiler Collection) is a custom programming language created by Micha� Lewandowski. It is simple, fast, and compiles natively to x64 machine code.
New in v1.5: Function arguments, return values, local variables, and input handling.
Installation & Usage
To start coding in PCC, you need the PCC.exe compiler.
Program Structure
Starting from v1.5, every PCC program must have a main function. This is the entry point of your application.
Variables & Math
We support two variable types:
int- integer numbers (32-bit)bool- true/false values (1 or 0)
Variables are now local to functions. You can create variables inside main or any other function.
Functions & Returns
PCC now supports functions with arguments and return values!
Defining Functions
You can define functions that take integer arguments and return a value.
Calling Functions
You can store the result of a function in a variable.
Conditionals (IF)
You can control the program flow using if statements. Comparisons using == and boolean checks are supported.
Input / Output
Printing
Use print(variable) or print(number) to display values in the console.
Input
Use input() to pause the program and wait for the user to press ENTER. This is useful for keeping the console window open.
Full Example
Here is a complete program demonstrating all modern features: