Hacker News new | ask | show | jobs
by danpalmer 434 days ago
Hey, congrats on the launch. I'm interested in what use-case led you to create this? What problem does it solve?

I've had a little experience translating code between languages (ObjC/Swift, Javascript/Python), and it has been frustrating, not because of re-stating the logic, but due to different availability of libraries, different execution semantics (e.g. async/await), different type systems, etc.

Also, it looks like USL is a new language? Did you consider something like CEL instead (Common Expression Language, https://cel.dev/), which seems to be doing something similar for the expression of basic logic.

1 comments

It's a new language. I haven't tried cel, but USL transpiles all of the logic--I'll keep working on it and make sure it works as you've mentioned.

I was curious to see if I could do something like this for fun. It currently works with 111 languages from the 40/50s-today.