tokenize only dialect
parent
dccdc4ae1d
commit
0202647959
@ -0,0 +1,14 @@
|
||||
#lang br/quicklang
|
||||
(require "parser.rkt" "tokenizer.rkt" brag/support)
|
||||
|
||||
(define (read-syntax path port)
|
||||
(define tokens (apply-tokenizer-maker make-tokenizer port))
|
||||
(strip-bindings
|
||||
#`(module basic-parser-mod basic-demo-3/parse-only
|
||||
'#,tokens)))
|
||||
(module+ reader (provide read-syntax))
|
||||
|
||||
(define-macro (mb PARSE-TREE)
|
||||
#'(#%module-begin
|
||||
'PARSE-TREE))
|
||||
(provide (rename-out [mb #%module-begin]))
|
Loading…
Reference in New Issue