Graph instead of stack

Interestingly, the idea of ​​presenting and executing programs using graphs. Some model without a stack, where each node on the graph represents a function, and the edges represent arguments for the functions. Thus, the function does not return the result to its caller, but passes the result as an argument to another node function. Complete stupidity? Or maybe it's just a state machine in disguise? Any actual implementations of this anywhere?

+3
source share
3 answers

This is very similar to the State machine .

+1
source

, Dybvig- .

, , . , . , .

+1

for javascript you can check node -red (visual) or jsonflow (json)

0
source

Source: https://habr.com/ru/post/1731882/


All Articles