Added syntax-error

This commit is contained in:
Justin Ethier 2016-02-11 23:37:34 -05:00
parent 66f149da37
commit b5962fa8bb

View file

@ -137,6 +137,7 @@
exact
inexact
eof-object
syntax-error
;;;;
; Possibly missing functions:
@ -187,7 +188,6 @@
; textual-port?
;
; ;; syntax-rules
; syntax-error
; syntax-rules
; parameterize
; define-values
@ -450,6 +450,11 @@
(else x)))
(qq (cadr expr) 0))))
(define-syntax syntax-error
(er-macro-transformer
(lambda (expr rename compare)
(apply error (cdr expr)))))
;; TODO: The whitespace characters are space, tab, line feed, form feed (not in parser yet), and carriage return.
(define call-with-current-continuation call/cc)
;; TODO: this is from r7rs, but is not really good enough by itself