No description
Find a file
2025-09-01 22:44:35 +02:00
.github/workflows gh actions 2023-04-10 11:41:03 +02:00
kiwi Very minor optimization 2025-09-01 22:44:35 +02:00
tests Cosmetics 2020-04-11 13:18:18 +03:00
.gitignore Initial commit 2016-12-30 13:43:38 +02:00
kiwi.nim Cosmetics 2020-04-11 13:18:18 +03:00
kiwi.nimble Cosmetics 2020-04-11 13:18:18 +03:00
LICENSE Initial commit 2016-12-30 13:43:38 +02:00
README.md Readme updated 2025-08-13 10:24:14 +02:00

kiwi CI nimble

A Nim port of the kiwi-java implementation of the Cassowary constraint solving algorithm

Usage

import kiwi

let s = newSolver()
let x = newVariable()
let y = newVariable()

s.addConstraint(x == 20)
s.addConstraint(x + 2 == y + 10)
s.updateVariables()

assert(x.value == 20)
assert(y.value == 12)

Links