Skip to content

aiq/clingo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clingo

clingo is a standard library for C. You can explore the documentation at the website.

Build & Test

It is recommended to use the following tools:

Build

$ cmake -S mk/cmake -B bld -G "Ninja Multi-Config" -DCMAKE_C_COMPILER=clang
$ cd bld
$ ninja  # like: -f build-Debug.ninja
$ ninja -f build-Debug.ninja
$ ninja -f build-Release.ninja

Test

$ bld
$ ctest -C Debug                  # run all debug tests
$ ctest -C Release                # run all release tests
$ ctest -C Debug -E benchmark     # run debug tests without "benchmark" in the name
$ ctest -C Release -R benchmark   # run release tests wit "benchmark" in the name

Generate HTML docs

$ lua mk/htmldoc/generate.lua

Open Points

  • select or create a formater for the source code

  • add missing tests and improve documentation

  • maybe color sub module to handle colors, similar to the time sub module

License

clingo is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.

About

a standard library for C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published