[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MIT-Scheme-users] how to compile a file
From: |
Matt Birkholz |
Subject: |
[MIT-Scheme-users] how to compile a file |
Date: |
Sat, 29 Jan 2011 09:37:45 -0700 |
> From: xinyou yan <address@hidden>
> Date: Tue, 18 Jan 2011 23:56:08 +0800
>
> I am new to scheme.
> I install mit-scheme in freebsd
>
> I have done some compute in repl
> But I don't know how to compile a file !
>
> I use scheme --compile test.scm
>
> it doesn't work.
There is no --compile command line option. To compile via a shell
script (and avoid the REPL), this should work:
echo '(cf "test")' | mit-scheme --batch-mode
There are TONS of such examples in the build scripts.