home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / misc / 2750 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  2.7 KB

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