We welcome contributions from anyone, even if you are new to open source. It might sound daunting to contribute to a compiler at first, but please do, it is not complicated. We will help you with any technical issues and help improve your contribution so that it can be merged.
To contribute, follow these steps:
-
Fork the Repository
Fork the LFortran repository to your GitHub account.
-
Clone Your Fork
Clone your forked repository to your local machine:
git clone https://github.com/<your-username>/lfortran.git cd lfortran
-
Add the Upstream Repository
Add the original LFortran repository as the upstream remote.
git remote add upstream https://github.com/lfortran/lfortran.git git fetch upstream --tags
-
Install Dependencies and Build the Project
Follow the installation guide to set up the required dependencies and build the project.
-
Make Changes and Submit Your Contribution
Create a branch for your changes and make the necessary edits. When ready, push your changes to your fork and submit a Pull Request (PR) against our repository at: https://github.com/lfortran/lfortran.
If you have any questions or need help, please ask as at our mailinglist or a chat.
Please note that all participants of this project are expected to follow our Code of Conduct. By participating in this project you agree to abide by its terms. See CODE_OF_CONDUCT.md.
By submitting a PR you agree to license your contribution under the LFortran's BSD license unless explicitly noted otherwise.