[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: command line args to guile
From: |
Marius Vollmer |
Subject: |
Re: command line args to guile |
Date: |
07 Mar 2003 23:56:00 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
address@hidden (Paul Jarc) writes:
> You can do this:
> $ guile -c '(define foo 1) (load "bar.scm") (load "bif.scm")'
> But I don't know how to start the REPL from Scheme code.
Try
$ guile -c '(begin (define foo 1) (top-repl))'
guile> foo
1
guile>
The function top-repl will run the normal repl.
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405