TCL has a very rich history. Many/all of the redis test cases were written in TCL. It would seem to make sense to implement the scripting plugin using TCL too.

Comment From: antirez

Hello, I like Tcl, but I think that Lua is more a lingua franca that Redis is, and the implementation is extremely smaller (and faster). Redis scripts don't need complex abstractions, so a language that is reasonably good, easy to understand for most people (algol like syntax), and with a good implementation is the perfect candidate. Hence ... Lua :)

Thanks for the feedback, closing the issue.

Comment From: guabutian

how can i debugger tcl?

Comment From: itamarhaber

@guabutian you can use the built-in debugger for that: https://redis.io/topics/ldb