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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Metaprogramming in Zig and parsing CSS

96 点作者 hundredwatt将近 2 年前

4 条评论

bsaul将近 2 年前
from all the zig features i've seen, comptime seems like the most likely to have the most impact on future PL design. I don't know how powerful it is in practice, but the idea looks so elegant and simple and they seem to have managed to make it work.
WalterBright将近 2 年前
Here&#x27;s a parser generator that uses metaprogramming in D to run it at compile time:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;PhilippeSigaud&#x2F;Pegged">https:&#x2F;&#x2F;github.com&#x2F;PhilippeSigaud&#x2F;Pegged</a>
评论 #36396625 未加载
lenkite将近 2 年前
Zig is an amazing language. Just wish they weren&#x27;t anti-RAII.
评论 #36402446 未加载
lionkor将近 2 年前
The only thing stopping me from using Zig is the lack of docs
评论 #36397961 未加载
评论 #36397546 未加载