chemart / gamma

View on GitHub

Gamma / gamma-calculus — The language that made multiset rewriting a programming paradigm. A program is a set of rules of the form 'pick n elements satisfying this condition and replace them with these', and the elements are just values in a bag…

chemistry official · built in rewriting fidelity: reconstructed constructive #banzhaf-yamamoto
files / README.md · 507 B · at 3b9057b8fab9 Raw

Gamma / gamma-calculus

One of the artificial chemistries of Banzhaf & Yamamoto, Artificial Chemistries (MIT Press, 2015), §9.2; first proposed by Banatre & Le Metayer, 1986 (INRIA RR-566), 1990, 1993; gamma-calculus: Banatre, Fradet & Radenac, 2004.

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/gamma", seed=0)   # same as "gamma"
print(net.summary())