TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

52 pointsby scvalenciaover 8 years ago

1 comment

siddbootsover 8 years ago
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 未加载