Is it possible to call external commands in Scheme on a Unix system? What is the easiest way to do this?
Thanks.
Is it possible to call external commands in Scheme on a Unix system? What is the easiest way to do this?
Thanks.
There are no such features and FFI (Foreign function interface) is not part of the Scheme standard.
There are implementations that extend Scheme with other features and Racket is one of them.
Chicken Scheme has an extension to call a command and several FFIs, including Lazy FFI.
Racket has the possibility to execute commands though Processes and it also has FFI making it possible to interface with anything on your machine.
There is a related question specific to Guile version of Scheme.
Since you have tagged Lisp, there is a related question specific to Common Lisp.