You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
beautiful-racket/beautiful-racket-lib/br/quicklang.rkt

15 lines
448 B
Racket

#lang br
(require (for-syntax racket/list sugar/debug))
(provide (except-out (all-from-out br) #%module-begin)
8 years ago
(rename-out [quicklang-mb #%module-begin])
(for-syntax (all-from-out sugar/debug)))
8 years ago
(define-macro (quicklang-mb . EXPRS)
8 years ago
#`(#%module-begin
(provide #%top #%app #%datum #%top-interaction)
. EXPRS))
(module reader syntax/module-reader
#:language 'br/quicklang
#:info br-get-info
(require br/get-info))