home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / bsd / 11909 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.6 KB  |  50 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!charon.amdahl.com!netcomsv!netcom.com!thinman
  3. From: thinman@netcom.com (Technically Sweet)
  4. Subject: Scheme->C port report
  5. Message-ID: <1993Jan28.020308.151@netcom.com>
  6. Organization: International Foundation for Internal Freedom
  7. Date: Thu, 28 Jan 1993 02:03:08 GMT
  8. Lines: 40
  9.  
  10. Hi folks,
  11.  
  12. I port the DEC Research Scheme-to-C compiler to bsd386.
  13. Scheme is a miniature version of LISP; this implementation
  14. has an interpreter and a compiler.  I use it a lot.
  15.  
  16. I've got all of patchkit 0.2 installed except for the
  17. 3-digit ones which are all dicey anyway.
  18.  
  19. Problem #1: vmparam.h is not in /usr/include/sys.
  20. It's only off in the kernel sources.  s2c uses USRSTACK
  21. from that file.
  22.  
  23. Problem #2: gcvt() and its friends ecvt & fcvt aren't
  24. in the math library.  These are double-to-string converters
  25. with more formatting control than sprintf gives.
  26. s2c runs on many platforms and they all have the ?cvt routines.
  27.  
  28. Problem #3: some of the floating point tests don't work.
  29. They do work on my at&t 386 system v.3.2 system.
  30. However, the latter is on a 486/33 and the bsd386 is
  31. on a 386/20 with an IIT 387-alike.
  32.  
  33. Problem #4: A memory allocation-thrasher program causes
  34. the kernel to reboot.  
  35. "vm_pagefault" gibberish - a few seconds of a message - reboot.
  36. I don't know enough to gdb the kernel.
  37.  
  38. And a question: Scheme does threads by copying around
  39. versions of the program stack.  Has anyone done a nice
  40. thread system for bsd386?  Don't mmap() and the signal
  41. stack allow you to do this?
  42.  
  43. Comments?
  44.  
  45. -- 
  46.  
  47. Lance Norskog
  48. thinman@netcom.com
  49. Data is not information is not knowledge is not wisdom.
  50.