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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

ArchieML is a structured text format optimized for human writeability

67 点作者 albertsun大约 10 年前

8 条评论

kazinator大约 10 年前
&gt; &quot;Unstructured text is ignored; there is no such thing as a parsing error&quot;<p>That is a naively wrong-headed recipe for problems later down the road. What if structure is mistyped such that it looks like unstructured text?<p>The format <i>has</i> structure, and consequently, examples of that format can be erroneous. Just because you don&#x27;t diagnose errors doesn&#x27;t mean they aren&#x27;t there.
rntz大约 10 年前
The live demos aren&#x27;t appearing for me in Firefox, which makes the page nearly useless in understanding what ArchieML actually looks like.<p>The relevant error appears to be:<p><pre><code> TypeError: aml.innerText is undefined archieml.org:364:6 </code></pre> Firefox 36.0, Ubuntu 14.10
评论 #9159595 未加载
TazeTSchnitzel大约 10 年前
Reminds me a little of INI files. They are a good demonstration of how sometimes simplicity is best.
burke大约 10 年前
Interesting that there&#x27;s mention of JSON and YAML, but no mention of TOML. I&#x27;m more interested in hearing why TOML wasn&#x27;t an adequate solution.
评论 #9159751 未加载
评论 #9159618 未加载
dcohenp大约 10 年前
So, I guess ArchieML is to JSON what Markdown is to HTML?
tekacs大约 10 年前
Akin to :skip, wouldn&#x27;t a :preserve or :quote block to suspend syntax temporarily be useful?<p>That is, for tracts of text that need to be quoted verbatim, including colons or [brackets] or similar?<p>Given how the parser is designed it seems like this would be particularly easy to implement...
phreeza大约 10 年前
I love that it has comments, which is something I greatly miss in JSON.
xjia大约 10 年前
Off topic: I clicked because I thought it&#x27;s sth. related to the ML programming language.