mirror of
https://github.com/false-schemers/skint.git
synced 2024-12-26 21:58:51 +01:00
refactored object alloc from ins to fix gc bug
This commit is contained in:
parent
fc307375d9
commit
033991b0d7
2 changed files with 534 additions and 483 deletions
31
src/s.scm
31
src/s.scm
|
@ -861,6 +861,8 @@
|
||||||
|
|
||||||
(define-syntax call-with-current-continuation call/cc)
|
(define-syntax call-with-current-continuation call/cc)
|
||||||
|
|
||||||
|
;dynamic-wind
|
||||||
|
|
||||||
(define (%map1 p l)
|
(define (%map1 p l)
|
||||||
(let loop ([l l] [r '()])
|
(let loop ([l l] [r '()])
|
||||||
(if (pair? l)
|
(if (pair? l)
|
||||||
|
@ -945,6 +947,35 @@
|
||||||
(apply for-each p (map vector->list (cons v v*)))))
|
(apply for-each p (map vector->list (cons v v*)))))
|
||||||
|
|
||||||
|
|
||||||
|
;---------------------------------------------------------------------------------------------
|
||||||
|
; Exceptions
|
||||||
|
;---------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
;TBD:
|
||||||
|
;
|
||||||
|
;with-exception-handler
|
||||||
|
;raise
|
||||||
|
;raise-continuable
|
||||||
|
;error
|
||||||
|
;error-object?
|
||||||
|
;error-object-message
|
||||||
|
;error-object-irritants
|
||||||
|
;read-error?
|
||||||
|
;file-error?
|
||||||
|
|
||||||
|
;---------------------------------------------------------------------------------------------
|
||||||
|
; Environments and evaluation
|
||||||
|
;---------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
;TBD:
|
||||||
|
;
|
||||||
|
;environment
|
||||||
|
;scheme-report-environment
|
||||||
|
;null-environment
|
||||||
|
;interaction-environment
|
||||||
|
;eval
|
||||||
|
|
||||||
|
|
||||||
;---------------------------------------------------------------------------------------------
|
;---------------------------------------------------------------------------------------------
|
||||||
; I/O Ports
|
; I/O Ports
|
||||||
;---------------------------------------------------------------------------------------------
|
;---------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue