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-demo/hdl-demo/reader.rkt

7 lines
205 B
Racket

9 years ago
#lang br
8 years ago
(require "parser.rkt" "tokenizer.rkt")
(provide read-syntax)
(define (read-syntax source-path input-port)
8 years ago
#`(module hdl-mod hdl-demo/expander
8 years ago
#,(parse source-path (tokenize input-port))))