Skip to content
This repository has been archived by the owner on Feb 21, 2021. It is now read-only.
/ ERPLAG-Compiler Public archive

Code Repository for multiple stages of Compiler Construction Project[Spring Semester 2019-20]

License

Notifications You must be signed in to change notification settings

ighosh98/ERPLAG-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiler-Construction-Project

Compiler for an artificial programming language called ERPLAG. This project was built as a part of partial fulfillment of course Compiler Construction in the Spring Semester of the academic year 2019-2020.

This project has been been implemented in a pipeline manner with stages consisting of:

  • Lexer
  • Parser
  • AST generation
  • Type Checking
  • Semantic Analysis
  • Code Generation (NASM 32-bit compatible assembly).

Authors

Usage

    make
    ./compiler <erplag_file> <asm_output_file>
    nasm -f elf -g <asm_output_file>
    gcc -no-pie -m32 code.o -o <output_filename>
    ./<output_executable>

About

Code Repository for multiple stages of Compiler Construction Project[Spring Semester 2019-20]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages