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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: FixScript, an embedded/standalone language with custom syntax additions

31 点作者 jezek2超过 2 年前
Hello, I want to introduce you to a programming language that I&#x27;ve been working on for a few years and is ready to be shared with a broader community.<p>Feel free to ask any question about it, it&#x27;s hard to describe what it is all about in a single blog post. For examples of a more complex code I recommend looking into to the &quot;src&quot; directory in the SDK. And here are some documentation links:<p><a href="https:&#x2F;&#x2F;www.fixscript.org&#x2F;docs&#x2F;sdk&#x2F;fixscript&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;www.fixscript.org&#x2F;docs&#x2F;sdk&#x2F;fixscript&#x2F;index.html</a><p><a href="https:&#x2F;&#x2F;www.fixscript.org&#x2F;docs" rel="nofollow">https:&#x2F;&#x2F;www.fixscript.org&#x2F;docs</a>

3 条评论

Simran-B超过 2 年前
&gt; FixScript allows any syntax changes and it&#x27;s done as a preprocessing step.<p>This kind of separation bothers me a lot in Markdown for static site generation. You typically use Jinja-like templating on top of regular Markdown, and there&#x27;s a preprocessing step for the templating. This is sometimes limiting in my opinion, as there is a fixed order of operations (preprocessing, then Markdown parsing&#x2F;rendering). And the two styles of markup are very different. reStructuredText &#x2F; Sphinxdoc is nicer in that regard because there is a consistent syntax that is arbitrarily extensible.<p>Can you show some examples of FixScript&#x27;s extensibility, ideally showing that it&#x27;s better than a C preprocessor?
评论 #34320917 未加载
antiatheist超过 2 年前
The token processors seem interesting, and a great C&#x2F;JS like syntax with a solid looking Python-like standard library.<p>Would be nice to have some simpler docs though, is there a REPL?<p>I can&#x27;t figure out how to build the sources from the download page, and I don&#x27;t see any packages in distrorepos yet.<p>EDIT: Nevermind, pointing `fixbuild` to a directory and script file works: `.&#x2F;fixbuild -src dir -m main`
评论 #34320781 未加载
danielEM超过 2 年前
Does it also compile to C?
评论 #34322494 未加载