lang: ast, funcs: Remove the secret channel from call

This removes the secret channel from the call function. Having it made
it more complicated to write new function engines, and it's not clear
why it was even needed in the first place. It seems that even the
current generation of function engines work just fine without it.

Co-authored-by: Samuel Gélineau <gelisam@gmail.com>
This commit is contained in:
James Shubin
2025-08-02 13:57:27 -04:00
parent 0a76910902
commit 86c6ee8dee
8 changed files with 226 additions and 52 deletions

View File

@@ -25,6 +25,8 @@ Edge: FuncValue -> if # a
Edge: FuncValue -> if # a
Edge: FuncValue -> if # b
Edge: FuncValue -> if # b
Edge: call -> callSubgraphOutput # dummy
Edge: call -> callSubgraphOutput # dummy
Edge: const: bool(false) -> if # c
Edge: const: bool(true) -> if # c
Edge: if -> call # fn
@@ -35,6 +37,8 @@ Vertex: FuncValue
Vertex: FuncValue
Vertex: call
Vertex: call
Vertex: callSubgraphOutput
Vertex: callSubgraphOutput
Vertex: const: bool(false)
Vertex: const: bool(true)
Vertex: if