Better HN
topnewbestaskshowjobs
Log inSign up

usl

6 karma · joined Nov 30, 2024 (1y ago) · 7 submissions

Submissions

comment 1y ago · link · parent

Can you post it so I can see please? Which languages did you try?

It's the first release--early bird pricing to raise funds for development.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

You're right. I'll post the examples, asap.

comment 1y ago · link · parent

Hey HN,

I built something I wish I had years ago.

USL (Universal Scripting Language) is a symbolic syntax system that lets you write logic once, and output that logic into 111+ real programming languages — Python, Rust, C++, JS, Java, Go, etc.

Upload a .usl file into the hosted app → choose any language(s) → download a .zip of the real code.

It supports:

Symbolic logic for print, assign, function, loop, if, etc.

Custom syntax templates for each language

A web app with multiselect UI + ZIP bundling

Gumroad option to support or unlock everything ($5)

App + Source: https://townsendatomics.gumroad.com/l/usl

I’d love your thoughts on:

How it could be more useful for devs/teachers

Any language you'd want added

Whether this belongs as a CLI tool, VS Code plugin, or playground next

Happy to answer anything or collab. Thanks for reading!

5.

Show HN: USL - A Universal Scripting Language That Outputs to 111 Languages(townsendatomics.gumroad.com ↗)

15 points · by usl · 1y ago · 17 comments

comment 1y ago · link · parent

Hi HN,

I’m excited to share Universal Scripting Language (USL), a self-advancing interpreter that lets you run code from 466+ programming languages in one unified environment. It’s been a personal project for a while, and I’ve just uploaded it to GitHub for others to explore!

Key Features: Supports 466+ languages (and counting). Combines and executes code from multiple languages seamlessly. Open-source and extensible for your use cases. Why USL? Developers often struggle with combining tools and libraries across different programming languages. USL aims to solve that by providing a platform to execute and interact with these languages together. Whether you want to prototype, learn new languages, or integrate multiple languages into a single workflow, USL has you covered.

How to Get Started: Repo: Universal Scripting Language (GitHub) Clone the repo and follow the setup instructions. I’m working on improving documentation and creating a proper requirements.txt. I’m also writing an O’Reilly-style book on USL’s design and usage, so stay tuned for more updates!

I’d love to hear your thoughts, feedback, and ideas for improvement. Let me know if you’d like to contribute or collaborate.

7.

Universal Scripting Language–Run 466 Languages in One Interpreter(github.com ↗)

2 points · by usl · 1y ago · 9 comments