Imagine a dunnet.el game, Eliza's doctor or IELM mode ...; This is by evaluating answers and asking new questions on the main buffer, and then do some things according to their elisp rules.
I would like to create something like an interactive assistant, BUT DO NOT request from the minibuffer how (interactive) (does not Mx) ... I need some kind of REPL loop. So, the question is how to get interaction with the working buffer (main screen), like any text conversation / adventure, but to call my defun'ed functions along the way.
So, I need a basic elisp skeleton to create a custom REPL. The goal is to make a natural language assistant, then parse the anwsers and do some actions according to the rules.
Thank you for your time,
Steve,
emacs lisp interactive read-eval-print-loop buffer
user577475
source share