egallesio / STklos

STklos Scheme
http://stklos.net
GNU General Public License v2.0
68 stars 17 forks source link

[R7RS] `load` has an optional second argument #595

Open jpellegrini opened 11 months ago

jpellegrini commented 11 months ago

Hi @egallesio !

R7RS says that load should accept a second optional argument:

(load filename environment-specifier)

It would be a STklos module.

I looked into lib/load.stk, but I'm not yet familiar with that part of the code, so I didn't make a PR...

egallesio commented 10 months ago

It's already on my TODO list :smiley: Don't worry, I'll do it (but probably for after 2.00, because the code about loading is too complicated and needs some rewriting).