Skip to content

How to load a band like "mechanics.com" inside the Kernel environment? #21

Open
@sritchie

Description

@sritchie

Hi!

I'm attempting to modify the kernel so that it's possible to get it running with all of the code from "SCMUtils" available to the user. At the repl, I can run a mechanics script like this:

#!/bin/bash
export MITSCHEME_HEAP_SIZE=100000
export MITSCHEME_BAND=mechanics.com
exec mit-scheme "${@}"

Or call

mit-scheme -band mechanics.com -heap 100000

I've tried modifying kernel.json to use these commands, and I've verified that on kernel startup, I can access functions from the mechanics.com band... but of course the code sent to the kernel for evaluation can't see this.

I'm not asking you to add support for this, of course! That is a major ask. But would you mind sending me any tips you have on where in the code I'd want to look to try and get the environment we use for kernel evaluation to know about some other library of functions?

Thank you so much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions