mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 22:50:18 +00:00
8060695dbb
* parsec implementation * add test code * parsec expression * Refactor * Refactor * Add return strategy to on * Add ExitStrategy * Add TopologyPath * Add ExitStrategy.ToRelay * Handle ToRelay * Refactor * Refactor * Refactor * Handle OnModel with Relay strategy * parsec -> parseq * parsec -> parseq * Add semantics test * Add topology tests * Add comments --------- Co-authored-by: InversionSpaces <InversionSpaces@vivaldi.net>
13 lines
248 B
Plaintext
13 lines
248 B
Plaintext
service Console("run-console"):
|
|
print(s: string)
|
|
|
|
func main():
|
|
ss: *string
|
|
dd: *string
|
|
peerId = "peerId"
|
|
relay = "relay"
|
|
parsec s <- ss on peerId via relay:
|
|
Console.print(s)
|
|
for d <- dd par:
|
|
Console.print(d)
|