CustomSharpCompiler is a semester project built as a Windows Forms application in C#. It compiles a custom programming language with support for variable declarations, operations, functions, and control structures.
Supports variable declarations for:
- integar
- decimal
- match (boolean)
- key (character)
Handles the following operations:
- Increment:
inc
- Decrement:
dec
Supports function declarations and function calls.
Allows defining classes using custom syntax.
Supports basic input and output operations.
Supports if-else
conditions with custom syntax:
- If:
agar
- Else:
magar
- Else If:
agarmagar
Supports for
loops with custom syntax.
- Language: C#
- Framework: Windows Forms
- Tools: Visual Studio
-
Clone the repository:
git clone https://github.com/usamafayaz/custom-sharp-compiler.git
-
Open the project in Visual Studio.
-
Build the solution:
Build > Build Solution
-
Run the application:
Debug > Start Without Debugging
For any inquiries, please contact [usama.fayyaz157@gmail.com].