AlacrisIO / meta

Internal management of Legicash/Legilogic/Alacris
0 stars 0 forks source link

Change XL to have a kind of role-polymorphism in function definitions #43

Open jeapostrophe opened 5 years ago

jeapostrophe commented 5 years ago

This is necessary for writing "general communicators", like "randomly decide a number with another participant". The AST would change so that most Participants and Roles would become a kind of meta-variable.

A more advanced version would allow this to be done on arbitrary numbers of roles, rather than just fixed role-poly.

IMHO, thinking about these things as macros would be most productive.