1

Given a Scheme shell/interpreter, what command could output its implementation (R5RS, R6RS or whatever).

For example, I have mit-scheme installed in a Debian machine. How could I discover what implementation it is?

I'm thinking in terms of Python. If you have a Python shell, you can either run import sys print(sys.version) to print the version directly, or test it with: print 'abc' to see if it runs (it would run in case of Python2).

  • 1
    there's https://stackoverflow.com/questions/45777702/how-to-detect-version-of-mit-scheme but this does not appear to be portable to e.g. racket – thrig Feb 03 '19 at 15:25

1 Answers1

0

I have mit-scheme installed in a Debian machine. How could I discover what implementation it is?

From the REPL , evaluate the (features) function , it will display the supported SRFIs (Scheme Requests for Implementation) and more information.

The latest version is available on debian Buster : mit-scheme (10.1.5-1).

The second question is already answered in the comment of @thrig.

MIT/GNU Scheme release notes

GAD3R
  • 66,769