diff --git a/lib/constitution.hoon b/lib/constitution.hoon new file mode 100644 index 000000000..b6f78488f --- /dev/null +++ b/lib/constitution.hoon @@ -0,0 +1,20 @@ +/- constitution, ethereum +|% +++ parse-id + |= id=@t + ^- ships:function:^constitution + |^ + %+ rash id + ;~ pose + (function %ships 'ships' shipname) + (function %get-spawned 'getSpawned' shipname) + == + :: + ++ function + |* [tag=@tas fun=@t rul=rule] + ;~(plug (cold tag (jest fun)) (ifix [pel per] rul)) + :: + ++ shipname + ;~(pfix sig fed:ag) + -- +--