Dec 192017
 
C source code for Siod 3.0, a scheme interpreter with built-in procedures using the Oracle Call Interface (OCI) and DIGITAL RDB SQL Services.

Full Description of File


C source code for Siod ver. 3.0: Scheme In
One Defun, This is a scheme interpreter with
built-in procedures using the Oracle Call
Interface (OCI) and DIGITAL RDB SQL Services.
You can use as a flexible database loader/
/unloader with fast binary flat-file data
save/restore. Or use it to apply the classic
"Symbolic Manipulation" or "Artificial
Intelligence" techniques on your data sets.


File SIOD30.ZIP from The Programmer’s Corner in
Category C Source Code
C source code for Siod 3.0, a scheme interpreter with built-in procedures using the Oracle Call Interface (OCI) and DIGITAL RDB SQL Services.
File Name File Size Zip Size Zip Type
DESCRIP.MMS 2071 871 deflated
FILE_ID.DIZ 398 280 deflated
MAKE.BAT 32 32 stored
MAKEFILE 557 277 deflated
MAKEFILE.COM 825 434 deflated
MANIFEST 858 211 deflated
PRATT.SCM 6337 1922 deflated
README 3527 1703 deflated
SHAR.DB 387 221 deflated
SIOD.1 2247 1095 deflated
SIOD.C 3491 1551 deflated
SIOD.DOC 24443 9704 deflated
SIOD.H 7129 2044 deflated
SIOD.OPT 98 98 stored
SIOD.SCM 8080 2458 deflated
SIOD.TIM 3875 1557 deflated
SIODM.C 1154 643 deflated
SIODP.H 5315 1759 deflated
SLIB.C 49106 13349 deflated
SLIBA.C 24669 5422 deflated
SQL_ORAC.C 15309 4438 deflated
SQL_ORAC.SCM 1927 768 deflated
SQL_RDB.C 26635 6174 deflated
SQL_RDB.SCM 3251 1105 deflated
TRACE.C 3632 1151 deflated

Download File SIOD30.ZIP Here

Contents of the README file


C source code for Siod ver. 3.0: Scheme In
One Defun, This is a scheme interpreter with
built-in procedures using the Oracle Call
Interface (OCI) and DIGITAL RDB SQL Services.
You can use as a flexible database loader/
/unloader with fast binary flat-file data
save/restore. Or use it to apply the classic
"Symbolic Manipulation" or "Artificial
Intelligence" techniques on your data sets.
This is version 3.0 of Siod, Scheme In One Defun.

It is a small implementation of the Scheme programming language.

George Carrette, May 1, 1994. [email protected], [email protected]

See siod.doc and the source file slib.c for more information.

Building:
For Unix: makefile
For VMS: descrip.mms or makefile.com
For Macintosh: See siod.doc for making your Think C project file.
Running:
siod -isiod.scm
See siod.doc some standard functions are in the file siod.scm

The files slib.c and sliba.c may serve as a subroutine library to add
scheme interpreter functionality to any existing program.

Even though this is small, the implementation supports some nice
features such as arrays, hash tables, and fast/binary data saving and
restoring. Also included in this release are interfaces to the
commercial relational databases DIGITAL RDB and Oracle. (See the files
sql*.c for information on building in these extra features)

This version has been compiled and run personally by me in the
following environments, with the resulting executable sizes (not stripped):

- SPARC, SUNOS with GNU cc 73 Kbytes
- SPARC, SUNOS with GNU g++ 82 Kbytes
- VAX/VMS, VAX C 42 Kbytes
- ALPHA/VMS, DEC C 107 Kbytes
- MAC-SE/30, THINK C 5.0 55 Kbytes

Positive reports have come in about other environments such as OS/2 and OSF/1.

Short description:

Siod is a small scheme interpreter with support for:

- lists, numbers, symbols, strings, arrays.
- string and numeric arrays compatible with C types long*,char*,double*.
- user-defined datatypes, new types added on fly, with hooks to
reading, evaluation, printing, equal, hashing,
- c-style I/O including fopen, fclose, fseek, ftell, fread, fwrite.
- fast/binary data-structure printing and reading.
- hash tables.
- C-programmer friendly programming for adding functionality.
Lisp arguments are passed as C arguments. No funky stacks
or stack pointers to keep track of. No storage management hassles.

Entry in the free database catalog from idiom.berkeley.ca.us

David Muir Sharnoff

name:SIOD (Scheme In One Defun/Day)
version:3.0
interface from: C, C++, Scheme
interface to:Oracle, Digital RDB, flat ascii, flat binary.
access methods: flat files contain symbolic expression such as hash tables.
multiuser:yes with commercial DB, no with flat files.
transactions:yes with commercial DB, no with flat files.
distributed:yes with commercial DB, no with flat files.
query language: SQL, any SCHEME program.
limits:None.
robustness:?
description:This is a scheme interpreter with built-in procedures using
the Oracle Call Interface (OCI) and DIGITAL RDB SQL Services.
You can use it merely as a flexible database loader/unloader
with fast binary flat-file data save/restore. Or you can
use it to apply the classic "Symbolic Manipulation" or
"Artificial Intelligence" techniques on your data sets.
The main-program can be oriented towards batch, character-cell
terminal, or Window/GUI.
references:"Structure and Interpretation of Computer Programs" MIT Press.
announcements:comp.lang.scheme, comp.databases.rdb, comp.databases.oracle
bugs:Contact the author.
requires:C compiler, your favorite commercial DB.
ports:VMS, UNIX, OS/2, MACINTOSH.
author:George Carrette
how to get:ftp pub/gjc/siod* from ftp.std.com.
updated:1994/05/01


 December 19, 2017  Add comments

Leave a Reply