[Top][All Lists]

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

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

From: Dr. Arne Babenhauserheide
Subject: Re: [PATCH] add language/wisp to Guile?
Date: Sun, 26 Feb 2023 22:39:32 +0100
User-agent: mu4e 1.8.13; emacs 28.1

Matt Wette <> writes:

> On 2/26/23 10:03 AM, Dr. Arne Babenhauserheide wrote:
>> Matt Wette <> writes:
>>> You can name a file containing Scheme code "foo.js" and "guile foo.js"

>> 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?

Those are two different use-cases. With guile foo.js, guile does not
have to search for the file: it just uses the one you passed.

With -e '(foo)' it has to search for a matching module in the known /
defined load paths.

Note also guile -L . -e '(foo)' -c '' has lower startup time than guile
foo.scm. If I understand it correctly that’s because it simply mmaps the
compiled *.go file while guile foo.scm always reads the file.

Best wishes,
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.

Attachment: signature.asc
Description: PGP signature

reply via email to

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