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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Best way to document a new language's grammar?

1 点作者 zMiller大约 7 年前
Hey,<p>I&#x27;m in the process of writing the documentation for customer facing grammar (built using nearly.js) to allow for &#x27;easy&#x27; querying of an API by the average Joe.<p>I was thinking of actually writing a GraphQL schema for the language&#x27;s grammar and &#x27;flattening&#x27; it out into a static page. Added plus is the schema can be used for autocomplete like behavior in a moded Graphiql IDE.<p>What documentation tools have you used in the past to document a language&#x27;s grammar ? Would love your thoughts and feedback on how bad this idea is. Thanks !

暂无评论

暂无评论