projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f10295e
)
Create a pure Javascript identity function
author
David Vazquez
<davazp@gmail.com>
Wed, 23 Jan 2013 23:44:29 +0000
(23:44 +0000)
committer
David Vazquez
<davazp@gmail.com>
Wed, 23 Jan 2013 23:44:29 +0000
(23:44 +0000)
Used to return primary values of functions
ecmalisp.lisp
patch
|
blob
|
history
diff --git
a/ecmalisp.lisp
b/ecmalisp.lisp
index
bbb8ebe
..
a6a0948
100644
(file)
--- a/
ecmalisp.lisp
+++ b/
ecmalisp.lisp
@@
-23,6
+23,9
@@
;;; language to the compiler to be able to run.
#+ecmalisp
+(js-eval "function id (x) { return x; }")
+
+#+ecmalisp
(progn
(eval-when-compile
(%compile-defmacro 'defmacro