How to make Chez Scheme runs custom codes on startup?

93 views
Skip to first unread message

ID CTo

unread,
Oct 19, 2023, 1:35:50 AM10/19/23
to chez-scheme
Hello guys,

I am learning Chez Scheme recenly, and have encountered a problem.  Chez Scheme doen't seem to support init file like other Lisp implmentations (like `.sbclrc' for SBCL,) and I don't see any thing about customizing init behaviours in the docs.

So I am wondering if there is any workaround for this, thanks for any helps in advance.


Regards,

ID

Marc Nieper-Wißkirchen

unread,
Oct 31, 2023, 11:58:20 AM10/31/23
to chez-scheme
If you run Chez Scheme as

scheme schemerc ...

it will first load the file "schemerc".  You could use the "alias" command from Bash to shorten the command "scheme ~/.schemerc".
Reply all
Reply to author
Forward
0 new messages