Timeline for A simple TCP server
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 8 at 7:56 | comment | added | sergiol | @cat yes, it is needed. It is by nature in Tcl. Between s and { it is like a comma for arguments of the proc procedure — For the better or the worse, in Tcl, everything is a string, so even the word proc to indicate a function, is not a keyword, but becomes a function itself. Spaces in c a p are like commas for the arguments of the s procedure. Amazing there's an high level language with only 12 syntax rules; it even led some people to write papers on building processors directly interpreting Tcl! Want more info? Search Scott Thibault Supporting Tcl in Hardware and Tcl on Board. | |
| Jun 17, 2020 at 9:04 | history | edited | CommunityBot | Commonmark migration | |
| Apr 8, 2016 at 13:41 | comment | added | cat | proc s {c a p} do you really need all that whitespace? | |
| Mar 31, 2016 at 17:22 | comment | added | Olivier Dulac | ahhh, Tcl / Tcl-DP ... amazing bunch of tools. (in the '90s a professor showed us we could write a network-distributed Excel (with a grid, and including formulas evaluation!) shared among several persons with (iirc) 4 (short) lines for the server and 5 for the clients... | |
| Mar 30, 2016 at 23:27 | history | edited | Digital Trauma | CC BY-SA 3.0 | added 89 characters in body |
| S Mar 30, 2016 at 23:25 | history | suggested | Donal Fellows | CC BY-SA 3.0 | shave a byte, for science^W golf! Also do the IPv6-supporting version |
| Mar 30, 2016 at 23:06 | comment | added | Donal Fellows | Using apply doesn't seem to save anything. Nor can you use tcl::mathop::+ {*}[split $a .] as that's slightly longer. Nor can you shave anything from option names. But supporting IPv6 is pretty trivial to add, and only costs a few bytes of code more (and then a regsub-based approach is just as long). | |
| Mar 30, 2016 at 22:57 | review | Suggested edits | |||
| S Mar 30, 2016 at 23:25 | |||||
| Mar 30, 2016 at 0:17 | history | edited | Digital Trauma | CC BY-SA 3.0 | added 6 characters in body |
| Mar 28, 2016 at 21:17 | history | edited | Digital Trauma | CC BY-SA 3.0 | added 474 characters in body |
| Mar 28, 2016 at 19:10 | history | answered | Digital Trauma | CC BY-SA 3.0 |