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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Is there a language to represent schedules and produce calendars?

7 点作者 urlwolf大约 5 年前

3 条评论

ColinWright大约 5 年前
<i>The best way to get the right answer on the internet is not to ask a question; it&#x27;s to post the wrong answer.&quot;</i> -- Cunningham&#x27;s Law<p>I&#x27;d suggest that you create a language for doing this. Don&#x27;t make it good, make it barely functional. Don&#x27;t do any research on what might already exist, just go ahead and think about what you&#x27;d want, and implement a half-assed version. Then post it here as a &quot;Show HN:&quot;.<p>One of two things will happen:<p>(a) People will pile in to say, &quot;It&#x27;s good, but why didn&#x27;t you just use XXXX&quot;; or<p>(b) People will say &quot;We&#x27;ve long needed something like this ... thanks!&quot;<p>In the latter case, if you&#x27;ve put it on GitHub (or similar) people might actually start offering improvements and sending you pull requests, and then you&#x27;ll end up with the thing you want that didn&#x27;t previously exist.
评论 #22789839 未加载
giaour大约 5 年前
The iCalendar syntax (<a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;ICalendar" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;ICalendar</a>) is the dominant DSL.
评论 #22791419 未加载
CamTin大约 5 年前
The &quot;remind&quot; program has a pretty well-developed DSL to represent dates and recurring schedules, with backends to produce postscript&#x2F;html&#x2F;etc calendars.<p><a href="https:&#x2F;&#x2F;dianne.skoll.ca&#x2F;projects&#x2F;remind&#x2F;" rel="nofollow">https:&#x2F;&#x2F;dianne.skoll.ca&#x2F;projects&#x2F;remind&#x2F;</a><p>It&#x27;s available already-packaged in most mainstream distros I know of.