Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common Lisp support does not work as instructed.. #315

Open
touxstone opened this issue Aug 11, 2018 · 2 comments
Open

Common Lisp support does not work as instructed.. #315

touxstone opened this issue Aug 11, 2018 · 2 comments

Comments

@touxstone
Copy link

touxstone commented Aug 11, 2018

Hi, This is definitely a wonderful contribution but I am interested in getting support for Common Lisp language. I have tried including the script as instructed here but it does not work for me. Is there any correction, perhaps update, tip I were not awarded of?. I would appreciate any clue.
Edit: The instruction for Scheme works wonderfully, so I was wondering, if it's said there is also for Common Lisp why it fails..?

@viebel
Copy link
Owner

viebel commented Jan 10, 2019

Sorry for the late response @touxstone
Can you elaborate on the issues you experience with Common Lisp in Klipse?

@touxstone
Copy link
Author

Hi, Thank you for answering. Basically as said, the instruction for common lisp does not work as expected, otherwise I'd got into a mistake which I were no awared of. Check, for example, the script below. Tough if you (after deleting the function code block and) try to a simple arimethic, lets say e.g. (+ 7 77) it works.

<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Testing klipseflying LISP as you go</title>
</head>
<body>
<h3 id="Scratching on the go">Trying e.g. Common LISP 'defun'</h3>

<pre><code class="language-klipse-eval-clisp">(defun verbose-sum (x y)
                                                "Sum any two numbers after printing a message."
                                                (format t "Summing ~d and ~d.~%" x y)
                                                (+ x y))
</code></pre>

<link rel="stylesheet" type="text/css" href="https://storage.googleapis.com/app.klipse.tech/css/codemirror.css">

<script>
window.klipse_settings = {
selector_eval_clisp: '.language-klipse-eval-clisp', // css selector for the html elements you want to klipsify
};
</script>
<script src="https://storage.googleapis.com/app.klipse.tech/plugin_prod/js/klipse_plugin.min.js"></script>
</body>
</html>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants