summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-06-28 10:23:01 +0200
committerLudovic Courtès <ludo@gnu.org>2021-09-20 17:00:19 +0200
commit5a389ca7282c6f6b944a4c6abc47cd8b02e2e092 (patch)
tree4448f9270f159070e9e3650bbd864d5d626de6bf /module
parent96e3686db14391310644d5237dcec8a0e2145903 (diff)
downloadguile-5a389ca7282c6f6b944a4c6abc47cd8b02e2e092.tar.gz
(system repl command) autoloads the compiler, disassembler, and profiler.
* module/system/repl/command.scm: Autoload (system base compile), (system vm disassembler), and (statprof).
Diffstat (limited to 'module')
-rw-r--r--module/system/repl/command.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/module/system/repl/command.scm b/module/system/repl/command.scm
index ac1fa0933..fce3a2471 100644
--- a/module/system/repl/command.scm
+++ b/module/system/repl/command.scm
@@ -1,6 +1,6 @@
;;; Repl commands
-;; Copyright (C) 2001, 2009, 2010, 2011, 2012, 2013, 2020 Free Software Foundation, Inc.
+;; Copyright (C) 2001, 2009, 2010, 2011, 2012, 2013, 2020, 2021 Free Software Foundation, Inc.
;; This library is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public
@@ -22,10 +22,12 @@
(define-module (system repl command)
#:use-module (system base syntax)
#:use-module (system base pmatch)
- #:use-module (system base compile)
+ #:autoload (system base compile) (compile-file)
#:use-module (system repl common)
#:use-module (system repl debug)
- #:use-module (system vm disassembler)
+ #:autoload (system vm disassembler) (disassemble-image
+ disassemble-program
+ disassemble-file)
#:use-module (system vm loader)
#:use-module (system vm program)
#:use-module (system vm trap-state)
@@ -42,7 +44,7 @@
#:use-module ((ice-9 pretty-print) #:select ((pretty-print . pp)))
#:use-module ((system vm inspect) #:select ((inspect . %inspect)))
#:use-module (rnrs bytevectors)
- #:use-module (statprof)
+ #:autoload (statprof) (statprof)
#:export (meta-command define-meta-command))