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.
19 lines
821 B
Racket
19 lines
821 B
Racket
9 years ago
|
#lang racket/base
|
||
|
(require racket/provide racket/list racket/string racket/format racket/match racket/port
|
||
|
br/define br/syntax br/datum br/debug
|
||
|
(for-syntax racket/base racket/syntax br/syntax br/define))
|
||
|
(provide (except-out (all-from-out racket/base) define)
|
||
|
(all-from-out racket/list racket/string racket/format racket/match racket/port
|
||
|
br/syntax br/datum br/debug)
|
||
|
(for-syntax (all-from-out racket/base racket/syntax br/syntax))
|
||
|
(filtered-out
|
||
|
(λ (name)
|
||
|
(let ([pat (regexp "^br:")])
|
||
|
(and (regexp-match? pat name)
|
||
|
(regexp-replace pat name ""))))
|
||
|
(combine-out (all-from-out br/define))))
|
||
|
|
||
|
;; todo: activate at-exp reader by default
|
||
|
|
||
|
(module reader syntax/module-reader
|
||
|
#:language 'br)
|