Skip to content

GochoMugo/contra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

contra

A minimal standard library for C

introduction

contra is a minimal standard library re-worked and re-designed for simplicity and reusability. It is primarily developed to make it easier writing C applications, using an API very similar to Node.js'.

Table of Contents

project principles

  • minimal: contra is minimal in what it implements.
  • simple: using the library should be simple enough for developers.
  • opinionated: we choose what to commit to long-term.

installation

# Create build directory.
mkdir build && cd build

# Create cmake environment.
cmake ..

# Build library.
make

# Install library (usually under /usr/local).
make install

# Run all tests.
make tests

# Run subset of tests
make tests.assert
make tests.base
make tests.fs
make tests.http
make tests.is
make tests.math
make tests.path
make tests.proc
make tests.string

license

The MIT License (MIT)

Copyright (c) 2016 GochoMugo mugo@forfuture.co.ke