Skip to content

An Educational C COmpiler written in Python, written for use in my Practical Compiler Design course

License

Notifications You must be signed in to change notification settings

CharlesAverill/ecco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ecco

An Educational C COmpiler written in Python, written for use in my Practical Compiler Design course.

Installation

A Docker image is provided for non-Linux users, although usage of Linux to proceed through this course is strongly encouraged for many unrelated reasons.

  1. Download the git repository:
    git clone https://github.com/CharlesAverill/ecco.git
    cd ecco

With Docker

  1. Install Docker:

  2. Build the base image:

    ./scripts dbuild

Without Docker

  1. Install poetry

    python3 -m pip install poetry
  2. Install project dependencies

    poetry install

Development Usage

The scripts file contains commands to run the ecco compiler inside and outside of the Docker image.

  • ./scripts dbuild - Build the Docker image
  • ./scripts drun - Run the compiler within the Docker image built with ./scripts dbuild
  • ./scripts dbuildrun - Build and run the Docker image and compiler
  • ./scripts run - Runs the compiler with poetry
  • ./scripts install - Installs your compiler with the default pip

About

An Educational C COmpiler written in Python, written for use in my Practical Compiler Design course

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •