Skip to content

Gappyjosuke/Compiler-Design-University-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

102 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Anna University: Compiler Design Laboratory Suite

A complete, verified resource for CS3581 / CCS3581 (and equivalent) Laboratory Experiments.

The Common Problem

Finding clear, working, and well-documented code for the Compiler Design Lab in Anna University is often difficult. This repository was created to save students time by providing a "Ready-to-Use" reference.

Instead of typing sh*t tons of code from low-quality PDFs, you can find verified, clean code for all 7 experiments here, along with a complete Lab Manual.


Repository Contents

1. Official Lab Manual

Note

Complete Lab Manual Written from Scratch The Compiler Design Lab Manual.docx contains:

  • Aim, Algorithm, Program, Procedure, Sample input,Result
  • First 3 page is left Blank intentionally.
  • Output is left Blank intentionally.
  • Verified source code.

2. Source Code (By Experiment)

Each experiment is isolated in its own folder within /Experiments/ for direct access. No more digging through a single massive file.

Section Description Link
All Experiments View the index of all 7 Lab Tasks View Experiments
Lab Manual Download the full PDF Download Manual PDF
Lab Manual Download the full Word Document Download Manual DOCX
Automated Installer Download the GCC + Flex + Bison auto setup installer Download Latest Release

Usage Instructions

  1. Clone the Repo or Download the Zip: git clone https://github.com/Gappyjosuke/minic-compiler.git
  2. Navigate: Go to the Experiments/ folder to find the specific task you need.
  3. Run: Every folder contains a local README explaining how to compile the specific .c or .l files.

Automated Installer Release

Download Latest Release

The installer automatically:

  • Installs GCC
  • Installs WinFlexBison
  • Configures Environment PATH variables
  • Verifies installation
  • Enables gcc, flex, and bison commands globally

Important

Run the installer as Administrator.

Administrator access is required for:

  • PATH environment variable configuration
  • Package installation
  • System-level setup operations

Note

After installation, restart your terminal if commands like gcc, flex, or bison are not detected immediately.


Contributor Note

Note

If this repo saved you time during your lab internals or records, feel free to ⭐ the repository.

About

This repository serves as a working lab manual for the Anna University CS curriculum for CompilerDesign Labs, covering everything from Lexical Analysis to 8086 Code Generation with step-by-step documentation

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors