add auqa scripts and compile targets

This commit is contained in:
boneyard93501
2021-04-25 21:04:21 -05:00
parent 77a5732c16
commit b54fef466c
7 changed files with 194 additions and 0 deletions

View File

@ -0,0 +1,6 @@
service Echo("service-id"):
echo: []string -> []string
func echo(data: []string) -> []string:
res <- Echo.echo(data)
<- res

View File

@ -0,0 +1,20 @@
service Echo("service-id"):
echo: []string -> []string
service Greeting("service-id"):
greeting: string, bool -> string
func seq_echo_greeter(data: []string, name: string, greeter: bool) -> []string:
big_res: []string
echo_res <- Echo.echo(data)
for s <- echo_res:
big_res.append(Greeting.greeting(s, greeter))
<- big_res
func par_echo_greeter(data: []string, name: string, greeter: bool) -> []string:
big_res: []string
echo_res <- Echo.echo(data)
for s <- echo_res par:
big_res.append(Greeting.greeting(s, greeter))
<- big_res

View File

@ -0,0 +1,7 @@
service Greeting("service-id"):
greeting: string, bool -> string
-- greeting: string -> string
func greeting(name: string, greeter:bool) -> string:
res <- Greeting.greeting(name, greeter)
<- res