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/basic-demo/main.rkt

10 lines
276 B
Racket

8 years ago
#lang br/quicklang
7 years ago
(require "parser.rkt" "tokenizer.rkt")
8 years ago
7 years ago
(module+ reader (provide read-syntax))
8 years ago
(define (read-syntax path port)
7 years ago
(define parse-tree (parse path (make-tokenizer port path)))
7 years ago
(strip-bindings
#`(module basic-mod basic-demo/expander
#,parse-tree)))