raz / CONTRIBUTING.md

56 lines · 2.0 KiB · raw · history · last change 61a5b863

Contributing to raz #

raz is defined by its report, doc/raz.md and doc/raz-lib.md, and the language is frozen: it changes only to mend a defect. What helps most is finding where the compiler or the library does other than the report says.

What is welcome #

Language proposals and new features are unlikely to be accepted. That a word is reserved, and that module names share one space with the library's, are settled.

How #

Everything goes through GitHub issues. Pull requests are not taken.

A report gives:

A fix is offered only after the defect is agreed in its issue. It:

Every patch is reviewed before it is applied, and may be rewritten.

Tools, AI included #

A tool, an AI model among them, may help write a report or a patch. You are its author: you must have read and understood every line, and be able to answer for it in review. Reports and patches made by a tool on its own are closed.

Licence #

raz is under the ISC licence (LICENSE), and so is every contribution.

source
1# Contributing to raz
2
3raz is defined by its report, `doc/raz.md` and `doc/raz-lib.md`, and
4the language is frozen: it changes only to mend a defect. What helps
5most is finding where the compiler or the library does other than the
6report says.
7
8## What is welcome
9
10- **Defect reports.** The compiler or the library doing other than the
11 report says, a crash of the compiler, wrong code, a wrong message.
12- **Defect fixes**, for such a defect.
13- **Documentation and tooling.** A mistake or an unclear passage in the
14 report, the manual pages or the guides; the editor support; the
15 examples.
16
17Language proposals and new features are unlikely to be accepted. That a
18word is reserved, and that module names share one space with the
19library's, are settled.
20
21## How
22
23Everything goes through GitHub issues. Pull requests are not taken.
24
25A report gives:
26
27- `raz --version`;
28- the smallest program that shows the defect;
29- what it does, and what the report says it should do, with the
30 section.
31
32A fix is offered only after the defect is agreed in its issue. It:
33
34- mends one thing, with a test: in `conform/` if the report alone fixes
35 the output, else in `test/` (`conform/check.sh` and `test/check.sh`
36 say how they are laid out);
37- passes `make check` and `make fmt`;
38- follows `STANDARDS.md` and keeps the compiler's style: plain code a
39 beginner can follow, a comment saying why, each rewrite explained
40 where it is done and in `doc/compiler.md`;
41- keeps `src/` to what the release in `BOOT` can build;
42- carries a `Signed-off-by:` line (`git commit -s`), certifying the
43 [Developer Certificate of Origin](https://developercertificate.org/).
44
45Every patch is reviewed before it is applied, and may be rewritten.
46
47## Tools, AI included
48
49A tool, an AI model among them, may help write a report or a patch. You
50are its author: you must have read and understood every line, and be
51able to answer for it in review. Reports and patches made by a tool on
52its own are closed.
53
54## Licence
55
56raz is under the ISC licence (`LICENSE`), and so is every contribution.