chemart / sac

View on GitHub

SAC (string-based artificial chemistry with cells) — Strings rewriting strings, inside cells that divide. A molecule is a string over a small alphabet in which some characters are operators and some data; a collision has one string rewrite the other and cut it at marked po…

chemistry official · built in bio-inspired fidelity: reconstructed constructive #banzhaf-yamamoto
files / README.md · 455 B · at 3a866bbfe425 Raw

SAC (string-based artificial chemistry with cells)

One of the artificial chemistries of Banzhaf & Yamamoto, Artificial Chemistries (MIT Press, 2015), §11.1.3; first proposed by Suzuki & Ono, 2002-2003.

Its generator ships with the chemart library, so loading it runs no code from the hub and needs no trust_remote_code.

import chemart

net = chemart.generate_network("chemart/sac", seed=0)   # same as "sac"
print(net.summary())