Live data from Hacker News

Elo – A data expression language which compiles to JavaScript, Ruby, and SQL

elo-lang.org

31–36 of 36 posts

Re: Elo – A data expression language which compiles to JavaScript, Ruby, and SQL

#31

I coincidentally worked on something similar but I kept closer to the SQL standard. It grew out of business cases where you don't have strongly typed data to act on. I more or less adopted the syntax from dumbql ( https://github.com/tomakado/dumbql ) and started off with a peg parser using ohm.js. As I started benchmarking I realized how slow it was and started looking for "fast paths" using regex. I ultimately resor…

good to know. Should we join forces ?

Re: Elo – A data expression language which compiles to JavaScript, Ruby, and SQL

#32
post #29

This is very similar to what I'm building: https://lutra-lang.org The base premise is the same: SQL is not a proper programming language and everyone knows it only because they have to. And I feel like everyone who knows SQL enough admits that, but still none of the 20+ attempts of a better language stuck on. As someone would say: sad.

Didn't know about it, thanks @aerzen

Re: Elo – A data expression language which compiles to JavaScript, Ruby, and SQL

#34

What would I use this for? Everything in the examples is pretty easy to do in scripting languages like Python, JS, and Ruby.

It would be pretty nice to write those simple things in one language if you have a ruby server, react front end, and postgres database. You could target different parts of the stack but think/implement in one language. Seems nice to me.
Post reply on HN