TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Little: a tcl-based c-like scripting language

101 pointsby cisstrdabout 9 years ago

12 comments

tclmeelmoabout 9 years ago
I really, really like that &quot;Why?&quot; explanation page; I feel like many projects could benefit from copying that idea.<p>Frequently, the first thought I have when I see projects is, &quot;okay, neat, but why does this exist?&quot;, and the answer takes some digging. It&#x27;s wonderful that in this example the answer is made so obvious.
评论 #11531114 未加载
评论 #11530976 未加载
评论 #11530822 未加载
评论 #11533256 未加载
jrapdx3about 9 years ago
Always nice to see Tcl&#x2F;Tk get attention, it&#x27;s a language I&#x27;ve often found quite useful. Seems like I&#x27;d heard of &quot;L&quot; before in connection with Tcl&#x2F;Tk, but not sure it was the same thing as Little.<p>Certainly seems it could be a good alternative, a quick look at the syntax makes me think of it like a kind of typed Javascript. The ability to tap into the underlying language, e.g., event loop, Tk UI, coroutines, should be an advantage.<p>There probably is a way to install Little when TclTk 8.6 (and extensions) are already installed (there&#x27;s a warning about trashing the pre-installed binaries), and not have problems due to moving or replacing existing libraries that applications depend on finding in established locations.
评论 #11531549 未加载
kingmanazabout 9 years ago
Banging out GUIs in Tk is a delight when contrasted with developing in whatever javascript framework is popular this hour. Tcl itself is pragmatic to an extreme; a great framework for both organizing large projects and heaping up fast primitives written in C.<p>Anyway, great job! I hope Little&#x27;s syntactic sugar gets more people exploring Tcl&#x2F;Tk. Can&#x27;t wait to give it a whirl.
评论 #11531563 未加载
nprescottabout 9 years ago
From the &quot;L Programming Language&quot; PDF:<p><pre><code> “It’s like perl without the nastiest bits.” </code></pre> I think that really does capture the spirit of what this language looks like. I&#x27;m not sure it will reach any kind of general applicability, but it seems like a tasteful nod to the extensible nature of Tcl either way. Curious to see the inclusion of PCRE over Tcl&#x27;s ARE which I thought was pretty routinely trotted out as a better performing, more limited, RE engine.
评论 #11530577 未加载
luckydudeabout 9 years ago
BTW, a buried discussion here: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11527154" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11527154</a>
sea6earabout 9 years ago
I haven&#x27;t tried this yet, I&#x27;ve just looked at the examples in the docs. However, I think this could be pretty cool.<p>I think the combination of the Perl influences with the possibility (which I&#x27;m interested in, but haven&#x27;t proven yet) of using this with Tclkit (a statically linked version of Tcl that can just be copied over for deployment) might make this a nice cross platform replacement for the kind of things I might otherwise want to do in Awk.<p>Tcl itself is also certainly a good cross platform Awk replacement, but heavy regex stuff seems like it might be a bit more concise with this syntax than in Tcl itself.
评论 #11531331 未加载
yumaikasabout 9 years ago
Looks like a very interesting little language, I enjoyed working with TCL a fair bit due to things like wish being so interactive. It&#x27;s also interesting that they added pointers to TCL, which solves my biggest gripe with TCL.
评论 #11530829 未加载
c0d0rabout 9 years ago
Trying to figure out where the code for Little lives - is it in a fork of the Tcl&#x2F;Tk repo itself?
评论 #11534980 未加载
c0d0rabout 9 years ago
I didn&#x27;t see a LICENSE file on github. What is this code licensed under?<p>Edit: Nevermind - it&#x27;s in the README.
评论 #11533456 未加载
sdsk8about 9 years ago
Well, this is a really well designed and beautiful language, i really enjoyed it.
sigzeroabout 9 years ago
Congrats on the release!
Ericson2314about 9 years ago
I...I...still feel like this is a joke, even after reading the &quot;why&quot; section.
评论 #11536900 未加载
评论 #11536807 未加载