🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.archives
Article #5712

SIOD -- Scheme in One Day [comp.windows.x]

#5712
From: George J. Carrette
Date: Mon, 18 Dec 1989 08:44
30 lines
1922 bytes
Archive-name: siod-v2.3/small-plug
Original-posting-by: gjc@mga.COM (George J. Carrette)
Original-subject: a plug for a very small lisp: SIOD
Archive-site: bu-it.bu.edu [128.197.2.40]
Archive-directory: src/gjc
Archive-files: siod-v2.3-shar
Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti)

Suffice it to say that lisp intepreters are popular as extension languages
and/or applications glue/prototyping mechanisms.

Problem 1: There are usually a truckload of build-in subroutines which may
or may not reflect how you want to program *your* application.
Problem 2: Size and complexity. Even the so-called "small" lisps tend to be
multi-source-file things, with their own idea of "main-program" structure.
Problem 3: Adding new lisp callable subroutines is usually a royal pain,
because of having to deal with garbage-collection related issues. 
Problem 4: A lisp callable subroutine is usually not callable from C
without passing arguments in some strange ideosyncratic manner.

To illustrate that these problems can be solved I present SIOD:
(Scheme in One Day). Read/Eval/Print/Load/Save/GC are all in a single
small source file without a main program. The source is less than 40 Kbytes,
and on a VAX/VMS system compiles into 14 Kbytes of executable code.
(The optional main program in a different file is but a few lines long).

You may try it out for yourself by anonymous ftp to bu-it.bu.edu, cd src/gjc,
get siod-v2.3-shar.

-gjc
Technical Details
Message-ID: <10361@stag.math.lsa.umich.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!math.lsa.umich.edu!emv

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!math.lsa.umich.edu!emv
From: gjc@mga.COM (George J. Carrette)
Newsgroups: comp.archives
Subject: SIOD -- Scheme in One Day [comp.windows.x]
Message-ID: <10361@stag.math.lsa.umich.edu>
Date: 18 Dec 89 08:44:23 GMT
Sender: news@math.lsa.umich.edu
Reply-To: gjc@mga.COM (George J. Carrette)
Followup-To: comp.windows.x
Lines: 30
Approved: emv@math.lsa.umich.edu (Edward Vielmetti)