Just committed changes to cover R7RS-small support.
- Exact complex numbers are not in yet. In next version, I hope.
- Problems have been reported regarding hygienic macro-defining macros (Macros that expands to let-syntax). It's a long-standing issue, but I'm going to give one more try before releasing 0.9.4. If it turns out a lot of work to fix, though, I'll postpone it to the next version.
- Currently, toplevel
importis Gauche's by default, which is different from R7RS
import. So you need
goshto run R7RS scripts. However, as R7RS gets adopted more widely, users would expect R7RS code just works on Gauche, so requiring
-r7option may confuse them.
I can't change Gauche's
importsemantics for the backward compatibility, and I don't want to extend Gauche's
importto support R7RS semantics, since those two have different functions (R7RS
However, I had another idea. The
importissue only arises when a Scheme script uses it on toplevel. When a Scheme script is given,
goshstart evaluating it in
usermodule. So we can provide the third
usermodule, which checks its arguments and dispatch to either R7RS
- And of course, I need to go through documents to update for R7RS.