chickadee » chicken » eggs » standard-extension

(standard-extension ID [VERSION] #!key info)procedure

A convenience procedure that combines the compilation and installation of a simple single-file extension. This is roughly equivalent to:

 (compile -s -O3 -d1 ID.scm -j ID)
 (compile -s -O3 -d0 ID.import.scm)
 
 (install-extension
  'ID
  '("ID.so" "ID.import.so")
  '((version VERSION)
    ... `INFO' ...
    ))

VERSION may be #f or can be omitted, in that case the version obtained from where the extension has been retrieved wil be taken. If installed directly from a local directory, the version will default to "unknown".