Skip to content

MahadMuhammad/compilers-from-scratch

Repository files navigation

Compilers From Scratch

The best way to learn something is to understand how it works internally. The best way to learn in depth about these compilers(dragons) is to implement them from scratch.

Running Locally:

  1. One of the way to install this locally is using the virtualbox image. I am using ubuntu 22.04. You can download virtual box according to your operating system from virtualbox website.

    • After installing virtualbox you can download the iso image from here
  2. Second way is to use docker. You can install docker from here. After installing docker you can run the following command to download and run the docker image.

docker pull mahadmuhammad/compilers-from-scratch:latest
  • After downloading docker images you can run the following command to run the docker image in your present working directory.
docker run -it --rm -v $(pwd):/usr/class/cool --name compilers-from-scratch mahadmuhammad/compilers-from-scratch