Skip to content

Files

Latest commit

 

History

History
63 lines (43 loc) · 1.14 KB

README.md

File metadata and controls

63 lines (43 loc) · 1.14 KB

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 [email protected]