Parinfer: A Simpler Way to Edit Lisp

2025-01-20

Parinfer is a novel editor mode for Lisp programming languages that simplifies Lisp coding by cleverly linking parentheses and indentation. It tackles the notorious parenthesis problem in Lisp, offering a more intuitive editing experience for both beginners and experts. Parinfer features two modes: Indent Mode and Paren Mode, allowing users to focus on either indentation or parentheses while Parinfer automatically manages the other. It also provides Paredit-like functionality without requiring complex hotkeys. At its core, Parinfer relies on a formal definition of the relationship between parentheses and indentation and employs a smart auto-adjustment mechanism based on this definition.

Development Code