Remix.run Logo
Elo – A data expression language which compiles to JavaScript, Ruby, and SQL(elo-lang.org)
41 points by ravenical 5 days ago | 5 comments
h1fra 2 hours ago | parent | next [-]

Love the idea, but I don't think this "built for [...] non-technical users" works. All the examples were more confusing to me vs a regular programming language and definitely not accessible to non-technical users.

Also, why would I want to compile to multiple languages? If I'm building a no-code platform, I won't bother supporting 3 different languages since I'm the only one seeing the code.

swrobel 11 minutes ago | parent [-]

Yeah, P30D as presumably intuitive to non-technical users has me chuckling

Also, knowing that TODAY > signup + P30D transpiles to TODAY > signup + 30.days in Ruby. Which one is more readable?

Levitating 3 hours ago | parent | prev | next [-]

Third example on the site does not in fact compile to SQL

fastball an hour ago | parent | prev | next [-]

Targeting Python, Ruby, and SQL seems impossible if you want certain features.

jauntywundrkind 3 hours ago | parent | prev [-]

I really like this idea! I wish I knew other data expression engines for js.

I feel like adding filtering languages into our http endpoints is one of those forever bespoke tasks. This is probably not the right form for tackling that problem, since it is a fairly complex query language & processor and doesn't cleanly map to something we'd use in a URL query string. But it makes me miss odata a little bit. And it makes me wish there were more visible popular options for data expression languages.