Karukatta is a simple compiler written in C++ that uses NASM (Netwide Assembler) for assembly and the GNU LD (Linker) for linking. It's designed to compile Karukatta source code and produce executable files on Unix-based systems.
- Karukatta source code compilation.
- Assembly using NASM.
- Linking using the GNU LD linker.
- Generates executable files.
Clone this repository to your local machine:
git clone https://github.com/IR0NBYTE/Karukatta.git
cd Karukatta
Before installing and using the compiler, ensure you have the following prerequisites installed on your system:
- NASM (Netwide Assembler)
- GNU LD (Linker)
cd Karukatta
./build/karukatta <srcCode.kar> -o nameOfTheoutputBin
# Open the example folder
cd example
# compile the karukatta code
../build/karukatta example.kar -o code
# Run the code
./code
# Check the exit returned
echo $?