diff --git a/examples/hello.clx b/examples/hello.clx index b549de6..b3eadea 100755 --- a/examples/hello.clx +++ b/examples/hello.clx @@ -1,2 +1,2 @@ #!/usr/bin/env clyx -_start [ "Hello from Clyx!" puts cr ] +_start [ say "Hello from Clyx!" ] diff --git a/examples/tcpecho.clx b/examples/tcpecho.clx index d4a516d..3562ff2 100755 --- a/examples/tcpecho.clx +++ b/examples/tcpecho.clx @@ -1,6 +1,6 @@ #!/usr/bin/env clyx _start [ - "Listening on port 1337..." puts cr + say "Listening on port 1337..." 1337 nlstn # listen on port 1337 1 while [ # outer connection accept loop dup read # accept a new connection -> conn_fd