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
281 B
Racket
12 lines
281 B
Racket
8 years ago
|
#lang br/quicklang
|
||
|
(require "parser.rkt" "tokenizer.rkt")
|
||
|
|
||
|
(define (read-syntax path port)
|
||
|
(define parse-tree (parse path (make-tokenizer port path)))
|
||
|
(strip-bindings
|
||
|
#`(module basic-mod basic-demo-2/expander
|
||
|
#,parse-tree)))
|
||
|
|
||
|
(module+ reader
|
||
|
(provide read-syntax))
|