Show HN: Valence, a programming language for ambiguous programs

Valence allows for structural ambiguity: a single line of code can have multiple trees. This is possible because each sign is a homonym with different readings depending on context (as command vs expression, as which sign is a parameter for which, etc). Brackets allow for more specificity when needed. When run, every possible interpretation of the program runs side-by-side.

Longer into thread here: https://bsky.app/profile/dtemkin.bsky.social/post/3liwgjbmhg...

Repo: https://github.com/rottytooth/Valence

3 points cranbor 1 year ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton