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.
12 lines
397 B
Racket
12 lines
397 B
Racket
#lang br
|
|
(require (prefix-in basic: (submod "main.rkt" reader)))
|
|
(provide current-basic-port configure-repl!)
|
|
|
|
(define current-basic-port (make-parameter #f))
|
|
|
|
(define (configure-repl!)
|
|
;; wrap REPL interactions with pollen expression support
|
|
(define racket-read (current-read-interaction))
|
|
(define (basic-read src in)
|
|
(basic:read-syntax src in))
|
|
(current-read-interaction basic-read)) |