HackerPapers

arXiv:2506.10021cs.PL

From Tool Calling to Symbolic Thinking: LLMs in a Persistent Lisp Metaprogramming Loop

Jordi de la Torre

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

We propose a novel architecture for integrating large language models (LLMs) with a persistent, interactive Lisp environment. This setup enables LLMs to define, invoke, and evolve their own tools through programmatic interaction with a live REPL. By embedding Lisp expressions within generation and intercepting them via a middleware layer, the system allows for stateful external memory, reflective programming, and dynamic tool creation. We present a design framework and architectural principles to guide future implementations of interactive AI systems that integrate symbolic programming with neural language generation.

arXiv comments
Journal reference
DOI
Subjects
cs.PLProgramming Languages cs.AIArtificial Intelligence

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Jan 2026 to Jan 2026.

Comments linking this paper, per year.

Discussed in comments1 thread

    • I've been thinking about this, take a look at this: > From Tool Calling to Symbolic Thinking: LLMs in a Persistent Lisp Metaprogramming Loop https://arxiv.org/abs/2506.10021 edit but also see cons[3] - maybe viable for very constrained domains, with strict namespace management…

      wfnView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.