1.7 KiB
1.7 KiB
Contributing to æSophia
Checklist For Creating New Pull Requests
The following points should be considered before creating a new PR to the Sophia compiler.
Documentation
- The Changelog file should be updated for all PRs.
- If a PR introduces a new feature that is relevant to the users of the language, the Sophia Features Documentation should be updated to describe the new feature.
- If a PR introduces new syntax (e.g. changes in aeso_syntax.erl, aeso_scan.erl, or aeso_parser.erl), the Sophia Syntax Documentation should be updated to include the new syntax.
- If a PR introduces a new library, the public interface of the new library should be fully documented in the Sophia Standard Library Documentation.
Tests
- If a PR introduces new syntax (e.g. changes in aeso_syntax.erl, aeso_scan.erl, or aeso_parser.erl), the contract all_syntax.aes should be updated to include the new syntax.
- If a PR fixes a bug, the code that replicates the bug should be added as a new passing test contract.
Source Code
- If a PR introduces new syntax (e.g. changes in aeso_syntax.erl, aeso_scan.erl, or aeso_parser.erl), the following code should be updated to handle the new syntax:
- The function
aeso_syntax_utils:fold/4
in the file aeso_syntax_utils.erl. - Any related pretty printing function in the file aeso_pretty.erl, depending on the type of the newly added syntax.
- The function