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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: An Interpreter for Extended Relational Algebra (Scheme Based)

52 点作者 scvalencia超过 8 年前

1 comment

siddboots超过 8 年前
Hey, this is awesome work! I would definitely consider using something like this as a teaching tool. Surprisingly, there are very few implementations of a simple-as-possible relational algebra DSL out there.<p>I&#x27;ve been working on something in a similar space, i.e. a command-line based tool for manipulating relational data. Based on my experience, I highly recommend that you look into the Blaze [1] and SQLAlchemy [2] ecosystems as a means for covering out some of the items in that TODO list. In particular, you could write a small module that would translate your query AST into blaze&#x27;s and immediately get the ability to target any RDBMS, CSV file, or Pandas dataframe (and many other backends).<p>In fact, if I were you I would stop work on the query engine side of it and directly target either Blaze or SQLAlchemy. This way you can focus your energy on the fun stuff, which is designing the language!<p>[1] <a href="http:&#x2F;&#x2F;blaze.readthedocs.io&#x2F;en&#x2F;latest&#x2F;index.html" rel="nofollow">http:&#x2F;&#x2F;blaze.readthedocs.io&#x2F;en&#x2F;latest&#x2F;index.html</a> [2] <a href="http:&#x2F;&#x2F;www.sqlalchemy.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.sqlalchemy.org&#x2F;</a>
评论 #13028146 未加载