Show HN: Prela – A Compositional and Controllable Query Language

4 points by remywang 129 days ago prela-lang.org 0 comments
Summary not yet generated for this article.

Original Text

I'm excited to share "take 2" of the Prela query language.

After sharing the previous version here, I've received some valuable feedback, the main one being the weird unicode-based syntax throwing people off.

Prela now has a more familiar SQL-like syntax while adhering to the algebraic principle, which makes the language compositional and controllable, all the while keeping the core engine under 1k lines of code.

The engine has also been rewritten from Julia to Rust, resulting in both simpler code and faster performance (not just because "Rust fast Julia slow", but for some pretty deep compiler-level reasons that I'll hopefully write about at some point).

In the long run, I think the value of Prela is not as a single query language, but as a demonstration of the power of relation combinators which can be implemented in any language, just like iterators.

Comments (0 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open