1
votes

0.1 installed. But I did not how to run a .scm file from command line of racket.

I have a scheme code file call code.scm.

And I also a test file call test.scm.

How do I run test.scm in racket? What command do I need?

Thanks!

1

1 Answers

3
votes
racket -r test.scm

If test.scm is a module, then instead of -r (--script), use -u (--require-script). You can find out more information by running racket --help.