File tree 1 file changed +18
-14
lines changed
1 file changed +18
-14
lines changed Original file line number Diff line number Diff line change 18
18
19
19
(parse-args (command-line))
20
20
21
- (display " Some useful options:\n " )
22
- (display " (exit) -- Exit harlani\n " )
23
- (display " (make-shared-object) -- Compile to a shared library instead of an executable\n " )
24
- (display " (harlan-library-path) -- Where Harlan finds imported libraries\n " )
25
- (display " (harlan-runtime-path) -- Where Harlan finds its runtime files\n " )
26
- (display " (verbose) -- Make Harlan print detailed information\n " )
27
- (display " (debug) -- Generate debugging information\n " )
28
- (display " (timing) -- Display pass timing information\n " )
29
- (display " (trace-pass) -- Turn on tracing for a given pass\n " )
30
- (display " (untrace-pass) -- Turn off tracing for a given pass\n " )
31
- (display " \n " )
32
- (display " Compile a file with (compile \" filename\" )\n " )
21
+ (define (help )
22
+ (display " Some useful options:\n " )
23
+ (display " (exit) -- Exit harlani\n " )
24
+ (display " (make-shared-object) -- Compile to a shared library instead of an executable\n " )
25
+ (display " (harlan-library-path) -- Where Harlan finds imported libraries\n " )
26
+ (display " (harlan-runtime-path) -- Where Harlan finds its runtime files\n " )
27
+ (display " (verbose) -- Make Harlan print detailed information\n " )
28
+ (display " (debug) -- Generate debugging information\n " )
29
+ (display " (timing) -- Display pass timing information\n " )
30
+ (display " (trace-pass) -- Turn on tracing for a given pass\n " )
31
+ (display " (untrace-pass) -- Turn off tracing for a given pass\n " )
32
+ (display " \n " )
33
+ (display " Compile a file with (compile \" filename\" )\n " ))
34
+
35
+ (help)
33
36
34
37
(define-syntax try
35
38
(syntax-rules (catch)
57
60
(lambda (exit )
58
61
(let repl ()
59
62
(display " > " )
60
- (match-commands
61
- (read)
63
+ (match-commands (read)
64
+ help
62
65
make-shared-object
63
66
harlan-library-path
64
67
harlan-runtime-path
65
68
compile
69
+ no-kernels
66
70
verbose
67
71
debug
68
72
timing
You can’t perform that action at this time.
0 commit comments