annotate samples/sock.tp @ 245:3590ecca6bc9

Fix handling of unescaped tabs in string literals in new parser
author Mike Pavone <pavone@retrodev.com>
date Mon, 06 Jan 2014 01:03:18 -0800
parents 4c96a393103e
children
rev   line source
pavone@145 1 #{
pavone@145 2 main <- {
pavone@145 3 sock <- socket connectTo: "127.0.0.1" onPort: 12345
pavone@145 4 sock send: "Hello, Socket!\n"
pavone@147 5 response <- sock recv: 1024
pavone@147 6 print: (string: response)
pavone@145 7 sock close
pavone@145 8 0
pavone@145 9 }
pavone@145 10 }