Skip to content

Commit 33e069a

Browse files
committed
Import the right things for the scribble docs
1 parent d14ddb8 commit 33e069a

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

www/notes/hustle.scrbl

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
#lang scribble/manual
22

3-
@(require (for-label (except-in racket ...)))
3+
@(require (for-label (except-in racket ... compile) a86))
44
@(require redex/pict
55
racket/runtime-path
66
scribble/examples
7-
"../../langs/hustle/semantics.rkt"
7+
(except-in "../../langs/fraud/semantics.rkt" ext lookup)
8+
(prefix-in sem: (only-in "../../langs/fraud/semantics.rkt" ext lookup))
89
"utils.rkt"
910
"ev.rkt"
10-
"../fancyverb.rkt"
1111
"../utils.rkt")
1212

1313
@(define codeblock-include (make-codeblock-include #'h))
1414

15-
@(for-each (λ (f) (ev `(require (file ,(path->string (build-path notes "hustle" f))))))
16-
'() #;'("interp.rkt" "ast.rkt" "parse.rkt" "compile.rkt" "asm/interp.rkt" "asm/printer.rkt"))
15+
@(ev '(require rackunit a86))
16+
@(ev `(current-directory ,(path->string (build-path notes "hustle"))))
17+
@(void (ev '(with-output-to-string (thunk (system "make runtime.o")))))
18+
@(for-each (λ (f) (ev `(require (file ,f))))
19+
'("interp.rkt" "compile.rkt" "ast.rkt" "parse.rkt" "types.rkt"))
1720

1821
@title[#:tag "Hustle"]{Hustle: heaps and lists}
1922

0 commit comments

Comments
 (0)