PAIP: Run Common Lisp in Browser?
source link: https://github.com/norvig/paip-lisp/issues/10
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Is it possible that each code fragment could be runnable and editable, right in the browser?
One way to get there is to create a docker container with the book, the code, a Common Lisp compiler, and an IDE.
Another way is to run code on a server and embed links to it. Some tools for this:
- rextester Gnu clisp
- tutorialspoint Gnu clisp
More attractive is to run right in the browser. But I couldn't find any tool that translates a big enough subset of Common Lisp to javascript; they were all too limited. It would be great if someone finds one that works. Here are some that will not work for various reasons:
-
Slip
: missing
&key
etc. - Parenscript : statement/expression issues.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK