Hacker News new | past | comments | ask | show | jobs | submit login

These sorts of languages make me wonder, can this be reversed? As in:

sdj8340u2u$@(:@#P+_A:@L@#!@)_ZL?> M OW {E)@(

Can a language be invented where this random string I hammered out would be a valid program?




Yes of course. If you balanced the parentheses it would be syntactically valid k. It assumes a bunch of names, and would be unlikely to do anything useful, but it would be legal.

The k7/shakti tutorial playfully notes that running one's finger along the shifted top row of the keyboard is syntactically valid.


>Can a language be invented where this random string I hammered out would be a valid program?

perl :-)


pretty sure that is a valid vi command




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: