Python

Warning

The Python project is currently on halt. You can use as reference or to continue developing it.

To work on H-hat on your computer, you need to:

  1. Download the repository via the terminal with:

    1
    git clone https://github.com/hhat-lang/hhat_lang.git
    
    2. Go to the project folder (cd hhat_lang/ by default) 3. Configure a Python virtual environment. You can choose between various packages, including venv, hatch, uv, pdm, and poetry. (1)

  2. Here we mentioned the most common ones, but there are plenty of other package and project managers. Choose the one that suits your needs.

  3. Activate it (each package has their own way to do it, please check it out before proceeding)

  4. Install the package via pip as follows:

  5. if you are using bash shell1:

    1
    pip install -e .[all]
    

  6. if you are using zsh shell:

    1
    pip install -e ".[all]"
    


  1. How to check which shell I am using