r/functionalprogramming • • Feb 19 '23

Question Universally generalizing code.

Hi, I'm working on an AI research project and we need a generalization way of easily describing any piece of code. It's seeming like partial combinatory algebra might be the way. But I'm a bit out of my depth here.

Could anyone point me towards the answer, and possibly an ascii-friendly standard for performing that math? Thanks.

1 Upvotes

8 comments sorted by

View all comments

Show parent comment

2

u/LobYonder Feb 20 '23

The Graph Exchange Language seems to be solving a similar problem of describing software in a standard format for tool processing: https://userpages.uni-koblenz.de/~ist/GXL/Introduction/background.html