Press "Enter" to skip to content

Inlab Scheme

Inlab-Scheme Release 4

This is Inlab-Scheme Release 4 released as Open Source Software under GPL version 2 licensing terms.

Inlab-Scheme is an independent implementation of the algorithmic language Scheme as defined by the R4RS and the IEEE Standard 1178. In addition to the language core Inlab-Scheme has support for several features like bitmap/greymap processing and more.

Inlab-Scheme can be used as a general tool for image processing, OCR or specialized optical object and pattern recognition. Take a look at this example to give you a first impression.

Inlab Scheme and documentation material is available for download here.


  • Inlab-Scheme is an independent implementation of the algorithmic language Scheme and conforms to the R4RS and the IEEE Standard 1178.
  • Inlab-Scheme 4 passes the r4rstest test incuding the tests for continuations, Scheme 4 and delay/force.
  • Pretty printing, fluid-let, dynamic-wind and syntax procedures using Inlab-Scheme syntax-lambda.
  • Bitmaps: Reading and writing TIFF (G4, single/multipage), XBM and PNG file formats, scaling, rotating, comparing, inverting, cropping, page decomposition (exploding), line drawing, greymap conversions and more.
  • Greymaps: 256 greylevel images, reading and writing PNG file formats (reads anything, writes PNG greylevel interlaced/not interlaced), scaling, cropping, conversions to and from bitmaps for further analysis and processing and more.
  • Inlab-Scheme Release 4 comes with two built in graphic file format converters which convert the PATIMG patent file format (as found on the USAPat CDROM series of the US PTO) and the ST.33 patent file format (as found on the US PTO PATENTIMAGES CDROM series and the european ESPACE CDROM series) to multipage tiff without decompressing.
  • Inlab-Scheme Release 4 comes as a single binary to reduce installation to an absolute minimum.
  • It’s easy to write Inlab-Scheme scripts that may be invoked directly from your shell using the ‘#!’-mechanism.


  • Learning Scheme
  • doing homework for your CS class
  • customized OCR and visual recognition applications
  • document processing and analysis tools
  • file format conversion and document processing applications for patent documents on CDROM

MIT OCW – 6.001 Structure and Interpretation of Computer Programs

When there was only one recommendation regarding Scheme, then it would be this one: Listen and watch the outstanding MIT OCW 6.001 lectures.

“Structure and Interpretation of Computer Programs has been MIT’s introductory pre-professional computer science subject since 1981. It emphasizes the role of computer languages as vehicles for expressing knowledge and it presents basic principles of abstraction and modularity, together with essential techniques for designing and implementing computer languages. This course has had a worldwide impact on computer science curricula over the past two decades. The accompanying textbook by Hal Abelson, Gerald Jay Sussman, and Julie Sussman is available for purchase from the MIT Press, which also provides a freely available on-line version of the complete textbook.

These twenty video lectures by Hal Abelson and Gerald Jay Sussman are a complete presentation of the course, given in July 1986 for Hewlett-Packard employees, and professionally produced by Hewlett-Packard Television. The videos have been used extensively in corporate training at Hewlett-Packard and other companies, as well as at several universities and in MIT short courses for industry.”