I searched, and I really cannot find this really basic question. I am new to mit-scheme and, in fact, I want to recreate the world of hi, but instead of doing this through a hint, I want to have a scheme file containing the following code:
(define hello-world
(lambda ()
(begin
(write 'Hello-World)
(newline)
(hello-world))))
The problem is that I miss the simplest questions: what is the file extension for a schema file? How to run this file according to the scheme?
I tried .ss and .scm, but every time I try to execute the hello-world.scm scheme, it says:
;Warning: Invalid keyword: "hello-world.scm"
;Warning: Unhandled command line options: ("hello-world.scm")
source
share