ilm (γ) - The imacro lambda for ilambda. Generate code and run in one command

1 · Shane Mulligan · Jan. 13, 2022, 4:27 a.m.
Summary I demonstrate an imaginary macro lambda (I call it ilm or γ). The idea is we want the LM (e.g. Codex) to come up with the code, and run it immediately. It’s a lambda (anonymous function) for code generation that uses an imaginary macro (imacro) to generate code. Example This should generate the necessary code and run it. 1 2 3 4 5 6 7 8 9 10 11 12 13 (defmacro ilm (name &rest body) " example: (ilm internet-is-connected-p ()) " `(progn (eval (imacro ,@body) ,@body))) ;; Some alternative ...