projects
/
jscl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add `remhash' function
[jscl.git]
/
src
/
compiler
/
compiler.lisp
diff --git
a/src/compiler/compiler.lisp
b/src/compiler/compiler.lisp
index
644ac6a
..
60860b3
100644
(file)
--- a/
src/compiler/compiler.lisp
+++ b/
src/compiler/compiler.lisp
@@
-1267,6
+1267,10
@@
(define-builtin in (key object)
`(bool (in (call |xstring| ,key) ,object)))
(define-builtin in (key object)
`(bool (in (call |xstring| ,key) ,object)))
+(define-builtin delete-property (key object)
+ `(selfcall
+ (delete (property ,object (call |xstring| ,key)))))
+
(define-builtin map-for-in (function object)
`(selfcall
(var (f ,function)
(define-builtin map-for-in (function object)
`(selfcall
(var (f ,function)