Skip to content

feature request: add Lisp window port#186

Draft
Feyorsh wants to merge 2 commits into
k21971:masterfrom
Feyorsh:master
Draft

feature request: add Lisp window port#186
Feyorsh wants to merge 2 commits into
k21971:masterfrom
Feyorsh:master

Conversation

@Feyorsh
Copy link
Copy Markdown
Contributor

@Feyorsh Feyorsh commented May 3, 2026

Add the lisp patch from nethack-el.

Pros

  • Take on the challenges of the dungeons of doom from the comfort of Emacs
  • Users of nethack-el do not have to build EvilHack from source (particularly useful on Windows)
  • It's very nethack-like to have such an esoteric window port

Cons

  • It makes botting significantly easier (also a pro)
  • The Emacs-side of the window port lives in a separate repo
  • Some degree of code churn as new features are added (although I expect this to slow down pretty soon)

Current deficiencies

  • cmd_index in winlisp.c is somewhat out of date and uses some obsolete defines; I still need to clean this up but probably not a blocker
  • Lisp version info needs to be moved from the version string to extended version info; prerequisite to merging
  • I've since fixed any memory corruption bugs I (and AI) could find and I did another pass to silence compiler warnings, but this is still legacy C code that might have some code smells
  • The lisp patch does not support building for Windows on 3.6.7-based variants—this will probably be a moot point once EH is rebased onto nethack 5.0.0
  • nethack-el itself does not currently have builtin variant support. I'm currently working on this but it's a bit of a chicken-and-egg problem

@k21971 k21971 added the enhancement New feature or request label May 13, 2026
@k21971 k21971 self-assigned this May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants