* added a "current-primitive-locations" primitive that returns an
alist mapping primitives to their locations (gensyms).
This commit is contained in:
parent
a3aef19781
commit
b74108f21c
BIN
src/ikarus.boot
BIN
src/ikarus.boot
Binary file not shown.
|
@ -5203,6 +5203,8 @@
|
|||
(primitive-set! 'eval-core
|
||||
(lambda (x) ((compile-core-expr x))))
|
||||
|
||||
(primitive-set! 'current-primitive-locations
|
||||
(make-parameter '()))
|
||||
|
||||
))
|
||||
|
||||
|
|
|
@ -440,6 +440,7 @@
|
|||
[list*->code* list*->code*-label (core-prim . list*->code*)]
|
||||
[install-library install-library-label (core-prim . install-library)]
|
||||
[eval-top-level eval-top-level-label (core-prim . eval-top-level)]
|
||||
[current-primitive-locations current-primitive-locations-label (core-prim . current-primitive-locations)]
|
||||
;;; record/mid-level
|
||||
[record? record?-label (core-prim . record?)]
|
||||
[make-record-type make-record-type-label (core-prim . make-record-type)]
|
||||
|
|
Loading…
Reference in New Issue