Guide to contributing code to ACL2.
The main way to contribute code to ACL2 is to open a pull request (PR) to the public GitHub repository. This will involve first creating a personal fork of the repository. Then, once you've committed your changes and tested the build, you may open the PR to merge your changes into the ACL2 repository. PRs should target the ``testing'' branch or similar (not the ``master'' branch).
You should run a regression build to ensure that your code changes did not
break the build. To do so, run the following
make -j 8 regression
(Note: the
A successful regression build is a good indicator, but it may not tell the
whole story. Be careful to avoid introducing code which may build on your
local machine but fail in other environments. E.g., via dependence on
environment variables or absolute pathnames, use of external tools without an
appropriate
See best-practices for recommended code practices.
Consider adding some high-level information about your changes to the
Community Books' release notes — i.e., the appropriate release-notes-books XDOC topic in
The community is invited to submit code contributions to the
For those new to Git (the version control system) or GitHub (the platform on which the ACL2 Git repository is hosted), see git-quick-start.
Frequent contributors may request to join the GitHub project. Such contributors may push directly to various testing branches without opening a PR (although it is still good practice to open a PR when modifying a widely used book or one primarily authored by someone else).
To request to join the project, please send email to one of the following individuals.
See also the community topic for other ways to connect with the ACL2 community.