Development environment

What you need to install

  • Rust (installed with rustup)

    • ver >= 1.64.0
    • 2021 edition
  • pre-commit

We use pre-commit to have clippy check and test automatically. The checks may fail on the first run even if there are no bugs, in which case you should try committing again.

  • Python3 interpreter (3.7~3.11)

If you want to check the behavior of Erg in various versions, it is recommended to install such as pyenv.

Recommendation

  • Editor: Visual Studio Code
  • VSCode extensions: Rust-analyzer, GitLens, Git Graph, GitHub Pull Requests and Issues, Markdown All in One, markdownlint
  • OS: Windows 10/11 | Ubuntu 20.04/22.04 | macOS Monterey/Ventura