What is Nostr?
screwlisp /
npub1n6w…rzel
2023-12-09 21:57:51
in reply to nevent1q…nj0q

screwlisp on Nostr: npub17rwq9…92p8j last week I tried something a bit crazy to get a "cell editor" for ...

npub17rwq9g7ptr4wj3r5cl3v4ys8629gw4pele8fn53a7hd679j3w0mqm92p8j (npub17rw…2p8j) last week I tried something a bit crazy to get a "cell editor" for lisp code instead of a generic text editor, but I can't really call it a success:
#+name: tableout
#+begin_src lisp :var input=hello-world :var check='() :results output
(let* ((string (format nil "~{(~{~a~^ ~})~%~}" input)))
(with-input-from-string (*standard-input* string)
(let ((read (read)))
(if check
(princ read)
(princ (eval read))))))
#+end_src
draw your own conclusions
Author Public Key
npub1n6w9sqrgjr37x83sdcs9rrerd9jlrk8wjajqzawhftacsa5603xs8krzel