projects
/
jscl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplifications, better comments and BLOCK/RETURN-FROM IR translators
[jscl.git]
/
src
/
prelude.js
diff --git
a/src/prelude.js
b/src/prelude.js
index
e49b781
..
6f5feea
100644
(file)
--- a/
src/prelude.js
+++ b/
src/prelude.js
@@
-62,6
+62,12
@@
function make_lisp_string (string){
function xstring(x){ return x.join(''); }
function xstring(x){ return x.join(''); }
+function Symbol(name, package_name){
+ this.name = name;
+ if (package_name)
+ this['package'] = package_name;
+}
+
function lisp_to_js (x) {
if (typeof x == 'object' && 'length' in x && x.type == 'character')
return xstring(x);
function lisp_to_js (x) {
if (typeof x == 'object' && 'length' in x && x.type == 'character')
return xstring(x);