move to example subdir
parent
2433a1a975
commit
ef882b8dff
@ -1,4 +0,0 @@
|
|||||||
#lang br
|
|
||||||
(module reader br
|
|
||||||
(require br/basic/reader)
|
|
||||||
(provide (all-from-out br/basic/reader)))
|
|
@ -0,0 +1,4 @@
|
|||||||
|
#lang br
|
||||||
|
(module reader br
|
||||||
|
(require "basic/reader.rkt")
|
||||||
|
(provide (all-from-out "basic/reader.rkt")))
|
@ -1,7 +1,7 @@
|
|||||||
#lang br
|
#lang br
|
||||||
(require br/reader-utils br/basic/parser br/basic/tokenizer)
|
(require br/reader-utils "parser.rkt" "tokenizer.rkt")
|
||||||
|
|
||||||
(define-read-and-read-syntax (source-path input-port)
|
(define-read-and-read-syntax (source-path input-port)
|
||||||
(strip-context
|
(strip-context
|
||||||
#`(module bf-mod br/basic/expander
|
#`(module bf-mod br/example/basic/expander
|
||||||
#,(parse source-path (tokenize input-port)))))
|
#,(parse source-path (tokenize input-port)))))
|
@ -1,4 +1,4 @@
|
|||||||
#lang br/basic
|
#lang br/example/basic
|
||||||
10 PRINT "shit"
|
10 PRINT "shit"
|
||||||
20 PRINT "bird"
|
20 PRINT "bird"
|
||||||
25 PRINT "dork"
|
25 PRINT "dork"
|
Loading…
Reference in New Issue