home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.misc:2750 comp.lang.logo:167 comp.lang.scheme:2066 comp.lang.forth:2987 comp.edu:1293
- Newsgroups: comp.lang.misc,comp.lang.logo,comp.lang.scheme,comp.lang.forth,comp.edu
- Path: sparky!uunet!usc!snorkelwacker.mit.edu!ira.uka.de!rz.uni-karlsruhe.de!stepsun.uni-kl.de!arctecserv-2!elsbernd
- From: elsbernd@arctecserv-2.informatik.uni-kl.de (Klaus Elsbernd)
- Subject: Re: Small Language Wanted
- Message-ID: <1992Aug21.082944.14714@rhrk.uni-kl.de>
- Sender: news@rhrk.uni-kl.de
- Reply-To: elsbernd@arctecserv-2.informatik.uni-kl.de (Klaus Elsbernd)
- Organization: University of Kaiserslautern, Germany
- References: <41910@skye.dcs.ed.ac.uk>
- Date: Fri, 21 Aug 1992 08:29:44 GMT
- Lines: 59
-
- In article <41910@skye.dcs.ed.ac.uk>, gvw@epcc.ed.ac.uk (Greg Wilson) writes:
- |> [apologies if this is a re-post --- problems first time around]
- |>
- |> Hello. I am looking for a small language to use and modify for teaching
- |> purposes. Features I want include:
- |>
- |> * small, simple implementation in C (at most one week for a senior
- |> student with a C/Unix background to read and understand source).
- |>
- |> * very simple syntax --- preferably only a single syntactic form,
- |> like Scheme, Logo, and Forth.
- |>
- |> * textual scoping of variables (which (sigh) rules out Logo itself)
- |>
- |> * logical, integer, floating-point, and string data types (I'm
- |> happy to have single characters treated as 1-length strings)
- |> ...
- You can try siod (Scheme In One Defun, Version 2.4)
- available at world.std.com, BU.EDU (128.197.2.6), or try archie.
- (If you like, I can mail it to you.)
-
- Some advertisement copied from an other news group copied from \ldots:
- (Don't know the original poster)
- vvvvvv
- What is SIOD? It is an extremely small scheme implementation in C
- arranged as set of subroutines that can be called from any main
- program for the purpose of introducing an interpreted extension
- language.
-
- How small is it? Compiling using the VAX/VMS C compiler results in a
- total of 16333 bytes of executable code.
-
- What features?
- * Lisp calls C and C calls lisp transparently
- * no hassle in C coded functions due to GC or EVAL considerations.
- * ability to hook into the read-eval-print loop without modifying the code.
- * ability to extend the datatypes without modifying the code.
- * mark-and-sweep or stop-and-copy GC selectable at runtime.
- * readmacros
- * macros
- * backquote (quasi-quote)
- * optionally loadable pratt (infix-language) parser
-
- Platforms?
- * VAX/VMS * VAX UNIX * SUN-3 * SUN-4 * AMIGA * MACINTOSH * MIPS * CRAY
- ^^^^^^^
-
- If you wan't a more complex system try kernel, a dynamic lisp interpreter
- published (source code included) at Addison Wesley
- (or try my extensions to it).
-
- MfG
-
- Klaus Elsbernd
-
- elsbernd@dfki.uni-kl.de
- elsbernd@informatik.uni-kl.de
-
-
-