Skip to content

Latest commit

 

History

History
63 lines (48 loc) · 1.54 KB

CONTRIBUTING.md

File metadata and controls

63 lines (48 loc) · 1.54 KB

Contributing

We want to say "Welcome 👋!" if you are here at first and "We are glad to meet you again!" if you are already our contributor.
We appreciate your help!

Code of Conduct

All interactions for this project are covered by the Contributor Code of Conduct.
By participating in this project you agree to abide by its terms.

If you just want to ask a question

When opening an issue

When sending a pull request

  • Search for duplicates
  • Use the same coding style as the rest of the codebase

First of all, generate codegen-api.hpp

On Unix

curl -fsSL sh.thelang.io | bash
the run scripts/pre-process-codegen -o scripts/a.out

On Windows

irm ps1.thelang.io | iex
the run pre-process-codegen -o scripts/a.exe

Testing

cmake . -D BUILD_TESTS=ON
cmake --build .
ctest --output-on-failure

Memory Checking

cmake . -D BUILD_TESTS=ON -D TEST_CODEGEN_MEMCHECK=ON
cmake --build .
ctest --output-on-failure

Coverage

cmake . -D BUILD_COVERAGE=ON -D BUILD_TESTS=ON
cmake --build .
gcov src/*