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/main.rkt

27 lines
1.2 KiB
Racket

9 years ago
#lang racket/base
8 years ago
(require racket/provide racket/list racket/string racket/format racket/match racket/port racket/function
8 years ago
br/define br/syntax br/datum br/debug br/cond br/case br/exception br/list racket/class racket/vector br/reader-utils
8 years ago
(for-syntax racket/base racket/syntax br/syntax br/debug br/define br/datum))
8 years ago
(provide (all-from-out racket/base)
8 years ago
(all-from-out racket/list racket/string racket/format racket/match racket/port racket/function
8 years ago
br/syntax br/datum br/debug br/cond br/case br/exception br/list racket/class racket/vector br/define br/reader-utils)
8 years ago
(for-syntax (all-from-out racket/base racket/syntax br/syntax br/debug br/datum))
8 years ago
(for-syntax caller-stx with-shared-id)) ; from br/define
8 years ago
9 years ago
;; todo: activate at-exp reader by default
8 years ago
(provide evaluate)
(define-macro (evaluate DATUM)
#'(begin
(define-namespace-anchor nsa)
(eval DATUM (namespace-anchor->namespace nsa))))
(provide really-dynamic-require)
(define-macro (really-dynamic-require . ARGS)
#'(parameterize ([current-namespace (make-base-namespace)])
(dynamic-require . ARGS)))
9 years ago
(module reader syntax/module-reader
#:language 'br
#:info br-get-info
(require br/get-info))