Skip to content

Way to get library install directory #524

@Retropikzel

Description

@Retropikzel

Hello! :)

I noticed Goldfish is beginning to get R7RS support, great work! I added Docker image for it here https://hub.docker.com/r/schemers/goldfish

I would like to at some point add support for Goldfish into snow-chibi, a package manager that uses https://snow-fort.org/. For that there would need to be somekind of way to get the directory into which install libraries. The directory should be in Goldfish loadpath by default. The idea is that user could run snow-chibi --impls=goldfish install "(retropikzel hello)" and after that importing the library would just work.

Some implementations do this by having a flag. For example Gauche has gauche-config --sitelibdir but most have some kind of procedure to call. For example mit-scheme has (system-library-directory-pathname), r7 has (scheme-paths). Which return the path either as a string or list of strings.

Would it be possible to have something like that in Goldfish at some point?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions