News for hackers. Stuff that matters.
Re:Writing Lisp Is AI Resistant and I'm Sad by otterley on Sunday April 05, 2026 @01:11AM (#47646293)
Don’t ask the LLM to do that directly: ask it to write a program to answer the question, then have it run the program. It works much better that way.
Re:Writing Lisp Is AI Resistant and I'm Sad by surround on Sunday April 05, 2026 @01:35AM (#47646401)
But for lisp, a more complex solution is needed. It's easy for a human lisp programmer to keep track of which closing parentheses corresponds to which opening parentheses because the editor highlights parentheses pairs as they are typed. How can we give an LLM that kind of feedback as it generates code?
Re:Writing Lisp Is AI Resistant and I'm Sad by otterley on Sunday April 05, 2026 @01:41PM (#47651881)
That's a different question than the one you asked. Are you saying LLMs are generating invalid LISP due to paren mismatching?
Re:Writing Lisp Is AI Resistant and I'm Sad by surround on Monday April 06, 2026 @04:17PM (#47666432)
That's what the comment I was originally replying to was saying.
Re:Writing Lisp Is AI Resistant and I'm Sad by xigoi on Sunday April 05, 2026 @02:20AM (#47646612)
If the LLM is intelligent, why can’t it figure out on its own that it needs to write a program?
Re:Writing Lisp Is AI Resistant and I'm Sad by sph on Sunday April 05, 2026 @05:56AM (#47647779)
The answer is self-evident.