From c1c4c00715aaed3070758c71b7101b52c60b6f33 Mon Sep 17 00:00:00 2001 From: David Vazquez Date: Sun, 16 Dec 2012 21:47:27 +0000 Subject: [PATCH] Add code-char function --- lispstrack.lisp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lispstrack.lisp b/lispstrack.lisp index 57644e7..b637d10 100644 --- a/lispstrack.lisp +++ b/lispstrack.lisp @@ -345,6 +345,8 @@ (define-compilation eq (x y) (concat "(" (ls-compile x env fenv) " === " (ls-compile y env fenv) ")")) +(define-compilation code-char (x) + (concat "String.fromCharCode( " (ls-compile x env fenv) ")")) (defmacro with-eval-when-compilation (&body body) -- 1.7.10.4