Show HN: Valence, a programming language for ambiguous programs (danieltemkin.com)

3 points by cranbor ↗ HN
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

0 comments

[ 1.9 ms ] story [ 11.5 ms ] thread

No comments yet.