TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Little: a tcl-based c-like scripting language

101 点作者 cisstrd大约 9 年前

12 条评论

tclmeelmo大约 9 年前
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 未加载
jrapdx3大约 9 年前
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 未加载
kingmanaz大约 9 年前
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 未加载
nprescott大约 9 年前
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 未加载
luckydude大约 9 年前
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>
sea6ear大约 9 年前
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 未加载
yumaikas大约 9 年前
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 未加载
c0d0r大约 9 年前
Trying to figure out where the code for Little lives - is it in a fork of the Tcl&#x2F;Tk repo itself?
评论 #11534980 未加载
c0d0r大约 9 年前
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 未加载
sdsk8大约 9 年前
Well, this is a really well designed and beautiful language, i really enjoyed it.
sigzero大约 9 年前
Congrats on the release!
Ericson2314大约 9 年前
I...I...still feel like this is a joke, even after reading the &quot;why&quot; section.
评论 #11536900 未加载
评论 #11536807 未加载