Skip to content

dosisod/write-a-compiler

Repository files navigation

Write a Compiler

Code for my Write a Compiler blog series.

Running

Basic setup:

$ python3 -m virtualenv .venv
$ source .venv/bin/activate
$ pip3 install -r requirements.txt

Testing

Install extra developer dependencies:

$ pip3 install -r dev-requirements.txt

Run all tests:

$ make test

Setting up pre-commit

The pre-commit file is designed to be ran before each git commit. It is not enabled by default (for security reasons), so to enable it, run the following:

$ ln -sf $PWD/pre-commit .git/hooks/pre-commit

About

Code for my "Write a Compiler" blog series

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published