STklos Scheme
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Documentation updated Oct 12, 2018
etc Adding a patch for building on MacOs X Lion Dec 3, 2011
examples Upgraded version of libffi to version 3.2 Jun 11, 2018
ffi Code cleaning in R7RS strings Jun 29, 2018
gc Upgraded the Boehm GC library to version 7.6.4 Jun 11, 2018
gmp Big source code patch with no modification: files are now encoded in … Aug 22, 2011
lib Documentation updated Oct 12, 2018
pcre Upgraded the PCRE regular expression library to version 8.42 Jun 11, 2018
pkgman Merge branch 'dev' (updated used libraries) Jun 12, 2018
src Documentation updated Oct 12, 2018
tests Added the R7RS primitive `command-line` Sep 21, 2018
utils Modified the makefile to permit a unique beta version number. Jul 3, 2018
.gitignore Bug fix in stklos-compile Apr 13, 2018
AUTHORS Added cinvoke lib and some FFI refinements Jun 22, 2007
COPYING Modified .gitignore Mar 22, 2018
ChangeLog Updated Changelog and NEWS files Aug 24, 2018
INSTALL Upgrade libffi to 3.0.8 Sep 26, 2009
LICENSE Added LICENSE file Mar 22, 2018
Makefile.am Modified the makefile to permit a unique beta version number. Jul 3, 2018
Makefile.in Modified the makefile to permit a unique beta version number. Jul 3, 2018
NEWS Bug fix in stklos-compile Apr 13, 2018
NEWS.md Updated Changelog and NEWS files Aug 24, 2018
PACKAGES-USED Upgraded version of libffi to version 3.2 Jun 11, 2018
PORTING-NOTES Commit version stklos-1.10 Dec 31, 2011
README Bug fix in stklos-compile Apr 13, 2018
README.md Modified .gitignore Mar 22, 2018
SUPPORTED-SRFIS Preparing version stklos-1.01-beta1 Dec 29, 2010
aclocal.m4 Bug fix in stklos-compile Apr 13, 2018
compile Updated documentation for version 1.20 Apr 20, 2018
config.guess Upgrade libffi to 3.0.8 Sep 26, 2009
config.sub Upgrade libffi to 3.0.8 Sep 26, 2009
configure Upgraded version of libffi to version 3.2 Jun 11, 2018
configure.ac Upgraded version of libffi to version 3.2 Jun 11, 2018
depcomp Upgrade libffi to 3.0.8 Sep 26, 2009
install-sh Upgrade libffi to 3.0.8 Sep 26, 2009
ltmain.sh Initial Hg commit Jan 3, 2006
missing Upgrade libffi to 3.0.8 Sep 26, 2009
mkinstalldirs Upgrade libffi to 3.0.8 Sep 26, 2009

README.md

STklos (version 1.20)

Erick Gallesio <eg(at)unice.fr>

Purpose

STklos is a free Scheme system compliant with the languages features defined in R5RS. The aim of this implementation is to be fast as well as light. The implementation is based on an ad-hoc Virtual Machine. STklos can also be compiled as a library and embedded in an application.

The salient points of STklos are:

  • an efficient and powerful object system based on CLOS providing
    • Multiple Inheritance,
    • Generic Functions,
    • Multi-methods
    • an efficient MOP (Meta Object Protocol)
  • a simple to use module system
  • a full tower of numbers implementation, as defined in R5RS,
  • easy connection to the GTK+ toolkit,
  • a Perl compatible regular expressions thanks to the PCRE package,
  • easily extensible with its ScmPkg mechanism,
  • it implements properly tail recursive calls.

History

STklos is the successor of STk, a Scheme interpreter tightly connected to the Tk toolkit, that I have developed since September 1993.

STklos is very similar to STk, for the user, but very different in he implementation. Everything has been rewritten and STklos uses now a compiler to a byte-code machine, rather than direct interpretation. As a consequence, it is a lot faster than STk. STklos is also better designed and should be easily embedded in an application (it was not completely the case with STk).

Whereas STk used the Tk toolkit, STklos uses the GTK+ graphical toolkit. STklos is not completely compatible with STk but it should be easy to port old STk graphical applications (provided that they use objects). The GTK+ extension can be loaded at run time and does not require a special interpreter as it was the case with STk.

March 2018: Development of STklos was on hold for several years, due to heavy administrative tasks in my University. However, Ι still use it for personal scripts and, since Ι was asked for, the source tree is now publicly available. The DVCS used is now git instead of mercurial.

SRFI Support

Current version of STklos supports some SRFIs (a complete list of implemented SRFIs is available in the file SUPPORTED-SRFIS in the distribution). The goal is to support as much as possible final SRFIs. Any help on implementing other SRFIs on STklos is welcome.

Supported architectures

STklos current version works on GNU/Linux 4.15 64 bits.

The previous version of STklos (1.10) was known to work on the following architectures:

  • GNU/Linux 1.6.x (i386/gcc 32 and 64bits)
  • Mac OS X 10.5+ (i386/gcc 32 and 64 bits)
  • FreeBSD 8.x (i386/gcc 32 bits and 64 bits)
  • Win32 (using Cygwin 1.7.x)

Very old versions of STklos have run on various architectures. All these ports are pretty old now, but if a port worked a day on a given architecture, it should be not too hard to port recent version of STklos on it. The old ports were effective on:

  • Win-NT/Win-XP (i386/gcc(Cygwin))
  • GNU/Linux >= 2.2 (i386/gcc and alpha/gcc)
  • FreeBSD 4.2 (i386/gcc)
  • Mac OS X (ppc & Intel/gcc)
  • Solaris 8 (ultrasparc/gcc)
  • Irix 6.5.20 (Octane, mips R10,000)
  • Open Darwin 7.0 (PPC/gcc)

More informations on supported platforms is available in the PORTING-NOTES file in the distribution.

Project Home

STklos home page is is located at http://stklos.net