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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Brace : Dialect of C that looks like Python

51 点作者 r11t超过 15 年前

6 条评论

lolcraft超过 15 年前
More than a dialect, a skin over C which could use some syntactic sugar. let(a,1)? In my book "a = 1", not even "let a = 1". It could be interesting, but the examples are too LOGO-ish, it could do trivial "duck-typing" (does "int a = 0" really need the "int"?), and the trade-off of using an imperative language or using another imperative language _and_ using another compiler isn't worth it.
评论 #929748 未加载
评论 #930098 未加载
daeken超过 15 年前
Looks like a very cool language (I can't help but love any language with real macros), but it looks more like ML than Python to me. I wonder how this compares to OOC. I think I might have to run them both through some tests and publish the results (aesthetics, speed (although I doubt that'll be an issue), flexiblity, etc).
pgbovine超过 15 年前
looks cool! what features did the author add beyond straightforward (nice-looking) syntactic transformations from Python-like syntax into C code? in other words, if i stared at Brace code and imagined how to manually translate it into C, what tricky cases are there?<p>the ability to quickly generate graphics with little code reminds me of Processing: <a href="http://processing.org/" rel="nofollow">http://processing.org/</a>
jcw超过 15 年前
I would really like to mess around with this, but it doesn't compile under OS X because of some utility differences (namely readlink and cp).
评论 #930575 未加载
joe_the_user超过 15 年前
Hmm,<p>I'd like to have a dialect of Python that looks C.<p>Python is a generally cool and you can get used to meaningful whitespace easily BUT the meaningful white space thing becomes very problematic when you're on an arbitrary system using vi and without tools for dealing with Pythonism. When we had a serious bug that was removed by rewriting whitespace in a way we couldn't even determine by sight, I swore never to use the language again. I did a couple of years of python coding earlier. Kind of like project Mono's unexplained memory leaks.
评论 #930474 未加载
评论 #930371 未加载
james2vegas超过 15 年前
First OOC, now this. What is the need to make anything look like the ugly indented mess that is python?
评论 #930100 未加载