[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] add language/wisp to Guile?

From: Matt Wette
Subject: Re: [PATCH] add language/wisp to Guile?
Date: Sun, 26 Feb 2023 10:20:24 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

On 2/26/23 10:03 AM, Dr. Arne Babenhauserheide wrote:
Matt Wette <> writes:

With respect to file extensions, guile does not use file extension:
You can name a file containing Scheme code "foo.js" and "guile foo.js"
will execute it.
The module-system uses file extensions: If you

(define-module (foo) #:export (main))
(define (main args) (display 'foo))

in foo.js, then

guile -L . -e  '(foo)' -c ''

won’t find it. But it will find it in foo.scm.

Guile does not use file extensions consistently, then?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]