redex, macro-debugger: stxclass -> syntax/parse, syntax/private/util

svn: r15986

original commit: 9ca3192a60a2311f0437bb020485e9231cdf9c0d
This commit is contained in:
Ryan Culpepper 2009-09-11 23:16:22 +00:00
parent 3bed74dc96
commit 0c63d827d6
2 changed files with 12 additions and 11 deletions

View File

@ -1,6 +1,6 @@
#lang scheme/base
(require (for-syntax scheme/base)
(for-syntax stxclass)
(for-syntax syntax/parse)
scheme/list
scheme/contract
"deriv.ss"
@ -12,7 +12,10 @@
(provide (all-from-out "steps.ss")
(all-from-out "reductions-config.ss")
DEBUG
R)
R
!)
(define-syntax ! (syntax-rules ()))
(define-syntax-rule (with-syntax1 ([pattern rhs]) . body)
(syntax-case rhs ()
@ -22,9 +25,6 @@
'pattern)
#'x)]))
(begin-for-syntax
(expr/c-use-contracts? #f))
(define-syntax-rule (DEBUG form ...)
(when #f
form ... (void)))

View File

@ -19,12 +19,13 @@
(lambda (stx)
(syntax-case stx ()
[(_ name ...)
(datum->syntax #f
(apply append
(for/list ([name (syntax->list #'(name ...))])
(list ;; (join "init-" #'name)
(join "get-" name)
(join "set-" name)
(join "listen-" name))))])))
(join "listen-" name)))))])))
;; Interfaces