REPL working on browser
Hello.
I'm trying to make a Common Lisp REPL that works on browser.
And I found this article.
Could you tell me how to evaluate the code in the textfield?
When I type (print "go") and send it, It returns "echo: (print "go")".
I'd like to evaluate the expression, and I hope it would return the evaluated value "GO".
Maybe I need to change some parts on this function:
(defun on-click ()
(chain smackjack (echo (chain document
(get-element-by-id "data")
value)
callback)))
I'd appreciate your help.
Regards,
- Hiroki