9 lines
236 B
Plaintext
9 lines
236 B
Plaintext
|
|
# PoC example: pipeline style vs canonical nesting
|
||
|
|
|
||
|
|
# Target sugar (not yet parsed by runtime):
|
||
|
|
# result = data |> normalize |> transform |> process
|
||
|
|
|
||
|
|
# Canonical form (current Nyash):
|
||
|
|
local result = process(transform(normalize(data)))
|
||
|
|
|