Hacker GitHub

← All repos

tcltk/tcl

View on GitHub ↗ ★ 842 C

The Tcl Core. (Mirror of core.tcl-lang.org)

10 mentions on Hacker News by 6 people: 0 stories, 10 comments · first 2013-05-22 · latest 2024-09-27

Mentions per year 10 mentions · busiest year 2014 (4)
20082026
  1. They mirror to Github. https://github.com/tcltk/tcl
    comment by sigzero · 2024-09-27 · in Tcl 9.0
  2. I've never seen C code as clear and well documented as tcl. E.g. https://github.com/tcltk/tcl/blob/main/generic/tclUtil.c , though more examples in that project are not hard to find.
  3. …the interpreter. It consists of only 150 SLOC. Anyone could add readline if they really needed it. https://github.com/tcltk/tcl/blob/master/unix/tclAppInit.c
    comment by kevin_thibedeau · 2019-08-23 · in Things to Know About GNU Readline
  4. Whenever I look at the Tcl source code, I'm impressed by how clean it is: https://github.com/tcltk/tcl
  5. Tcl has some nice code done in a similar style: https://github.com/tcltk/tcl/blob/master/generic/tclEvent.c
  6. …contained here and its readability: https://github.com/stuarthalloway/programming-clojure/blob/m... https://github.com/tcltk/tcl/blob/master/generic/tclCompile.... Grabbed at random. I think the larger indentation and fewer parens do make…
    comment by davidw · 2014-11-27 · in Amazon is hiring Clojure devs
  7. Nice, but they definitely overcomment IMO, e.g. https://github.com/tcltk/tcl/blob/master/generic/tclCompile....
    comment by oneeyedpigeon · 2014-11-26 · in Linux kernel coding style
  8. I'm a fan of the Tcl/Apache/BSD style. Indeed, Tcl has nice C code: https://github.com/tcltk/tcl/blob/master/generic/tclCompile....
    comment by davidw · 2014-11-26 · in Linux kernel coding style
  9. I'm partial to the Tcl C code: https://github.com/tcltk/tcl/blob/master/generic/tclFCmd.c It's very nicely commented and has a nice, easy to read style throughout ( except for the regexp files).
  10. I am kind of partial to Tcl's C code: https://github.com/tcltk/tcl/blob/master/generic/tclConfig.c Although I think arguing for less uppercase/camelcase would not be entirely out of place. Still though, it's very nice to read.
    comment by davidw · 2013-05-22 · in Plan 9 Coding Conventions for C