[spam][crazy] advanced coding therapy

Undescribed Horrific Abuse, One Victim & Survivor of Many gmkarl at gmail.com
Fri Dec 1 07:30:49 PST 2023


/*
- expressions that form a tree
- operator objects in expressions
- relation objects that connect operators and inverses to transform
expressions
*/

struct ScalarRelation {
  int arity;
  set<Operator> operations;
}

struct Operator {
  string name, symbol;
  ScalarRelation & relation;
  vector<int> input_idxs;
  vector<int> output_idxs;
};

struct OperatorExpression : Expression {
  Operator & operator;
  vector<Expression> inputs;
};

/* :D */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/html
Size: 996 bytes
Desc: not available
URL: <https://lists.cpunks.org/pipermail/cypherpunks/attachments/20231201/ca4d334b/attachment.txt>


More information about the cypherpunks mailing list