This repository contains a SysY compiler based on Flex and Bison, developed on Linux Manjaro.
This project is a SysY compiler implemented using Flex and Bison. It is developed on Linux Manjaro and aims to provide a robust and efficient compiler for the SysY language.
To install and set up the project, follow these steps:
-
Clone the repository:
git clone https://github.com/Ac-Ada-Lovelace/rc.git cd rc
-
Install the necessary dependencies:
sudo pacman -S flex bison make gcc
Other OS, please install dependencies at first
3. Build the project:
sh make buil
To use the SysY compiler, run the following command:
tcc < [Source code] > targetfile.asm