Hacker News new | ask | show | jobs
by DylanDmitri 1804 days ago
I've been thinking about a programming language where parts of speech are flexible, so if you define a "square" function you could write both "square 3" and "3 squared".
3 comments

Already taken to its logical conclusion: https://esolangs.org/wiki/Perligata
Try some of the DSLs for quantum computers. You basically want all of your operators to be commutative.
Have your read “Nine Hundred Grandmothers” by R. A. Lafferty?