Hacker News new | ask | show | jobs
by xyzzy_apps 44 days ago
Although I haven't tested it, I came up with an obfuscation technique that makes code readable to humans but confusing to LLMs.

Basically you can write code inside the function in any order, my parser basically does data dependency analysis and re-orders it.

https://github.com/xyzzyapps/weft

1 comments

This is just like lazy evaluation in Haskell or Verse. LLMs are fine with this if they know the language works that way.