Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (31 sloc) 1.09 KB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>jsmacs testing</title>
<script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script>
</head>
<body>
<div>
<h1>reader</h1>
<pre id="reader"></pre>
<script type="text/javascript" src="utility.js"></script>
<script type="text/javascript" src="reader.js"></script>
<script type="text/javascript">
$(function () {
var src = '(test (me out (here 1 "2 \\"3\\"\nA new line")))';
src = '(defmacro and-let1 (binding &rest body) "Bind one pair, and execute the body if the value of\n the binding is true. Use and-let* instead." (declare (indent 1)))';
// console.debug("output", jsmacs.elisp.reader(src));
$("#reader").load(
"../emacs-lisp/srfi-2.el",
null,
function () {
var text = $("#reader").text();
console.debug("output", jsmacs.elisp.reader(text));
});
});
</script>
</div>
<!-- <script type="text/javascript" src="elisp.js"></script> -->
</body>
</html>