Setup

Currently this project is heavily dependant on wheel. So you will need to setup some wheel related dependencies like fish and safe-rm as well.

virtualenv env
source env/bin/activate
pip install -r requirements.txt

General Cmake Commands

rm CMakeCache.txt
cmake .
make

Vendor

Facil

cd vendor
bash <(curl -s https://raw.githubusercontent.com/boazsegev/facil.io/master/scripts/new/app) appname
cmake .
make libdump

libdill

cd vendor
wget https://github.com/sustrik/libdill/archive/refs/heads/master.zip
brew install openssl
brew link --force openssl
# setup CFLAGS and LDFLAGS from the above command
unzip master.zip
cd libdill-master
cmake .
make libdump
make

GC

wget https://github.com/ivmai/bdwgc/archive/refs/heads/master.zip
unzip master.zip
cd bdwgc-master
cmake .
make

Execute Code

ls source/*.cog | entr -r fish ./wheel.sh --build
./example

Read docs

Keep a browser tab open to browse the code

open build/html/index.html