/ifj23

Project for IFJ and IAL. Compiler of subset of swift.

Primary LanguageC

Project for IFJ and IAL


-> Coding style rules:

1. Indentation:                     4 spaces
2. Variable and function names:     snake_case
    f.e. name_of_function (...)
3. Type and structure names:        PascalCase
    f.e. StructName {...}
4. Constant/maker names:            SCREAMING_SNAKE_CASE
    f.e. #define CONST_NAME 1
5. Pointers names:                  with var's name
    e.g. int *name;
6. Compound parentheses:            on the same line
    f.e. method (...) {
        ...
    }
7. Spaces around binary operators
    f.e. a + b;
8. For, while, if:                 spaces before the bracket
    f.e. for (...)
9. Spaces after a comma, semicolon, bracket

-> Push strategy: requests -> Max line length: 80 columns