A simple guide of standard conventions to follow in order to deliver a good Github commit for the Thrust Syntax repository.
It needs to be detailed. It can include a lot of technical slang. A well designed Github commit title always needs a specific syntax:
Following the syntax:
feat(...)
Valid locations:
assemblerAny location that usually involves pure assembler-type functions and assembler values treated as conventional expressions.attributesAny location that usually involves the compile-time code generation modifiers.builtinsAny location that usually involves built-in functions.typesAny location that usually involves native and primitive types, casts, type aliases, and constants.variablesAny location that usually involves types of variables, their mutation, and statics.functionsAny location that usually involves functions, the foreign function interface (FFI), and compiler intrinsics.modulesAny location that usually involves importing code between files and modules.memoryAny location that usually involves high-level pointer dereferencing.control_flowAny location that usually involves conditionals, deferred execution, and traditional loops such asfor,while, andloop.structureAny location that usually involves structures and enums.projectAny location that usually involves the repository itself:README.md,LICENSE.txt,assets/, or the conception of a new part of the syntax repository.
Example:
feat(modules) Adding the documentation of the import statement and module system.
Following the syntax:
fix(...)
Valid locations:
assemblerAny location that usually involves pure assembler-type functions and assembler values treated as conventional expressions.attributesAny location that usually involves the compile-time code generation modifiers.builtinsAny location that usually involves built-in functions.typesAny location that usually involves native and primitive types, casts, type aliases, and constants.variablesAny location that usually involves types of variables, their mutation, and statics.functionsAny location that usually involves functions, the foreign function interface (FFI), and compiler intrinsics.modulesAny location that usually involves importing code between files and modules.memoryAny location that usually involves high-level pointer dereferencing.control_flowAny location that usually involves conditionals, deferred execution, and traditional loops such asfor,while, andloop.structureAny location that usually involves structures and enums.projectAny location that usually involves the repository itself:README.md,LICENSE.txt,assets/, or the conception of a new part of the syntax repository.
Any consecutive location written next to another needs to be followed by a COMMA character ,.
Example:
fix(types) Fixing the return type of sizeOf(T).
In order to create a well designed combinatory title, you need to use the following syntax:
(feat(...), fix(...))
- It needs to be encapsulated by a pair of PAREN characters
(). - Each next feature or fix needs to be followed by a COMMA character
,.
It needs to be concise and short, but detailed at the same time. It can include a lot of technical slang.

