daily snapshot, mainly changes to get 0.5.2 stuff running

This commit is contained in:
marting 1999-09-24 23:54:22 +00:00
parent 26447c1d1a
commit bca77db078
12 changed files with 34 additions and 19 deletions

View File

@ -111,10 +111,11 @@ SCSHVMHACKS = scsh/proc2.o
#JMG: and it's object files
#JMG left out: scsh/re.o scsh/re1.o scsh/regexp/regexp.o scsh/regexp/regsub.o
# scsh/fdports1.o
# scsh/rdelim.o
#
#
SCSHOBJS = \
scsh/dirstuff1.o \
scsh/fdports1.o \
scsh/flock.o scsh/flock1.o \
scsh/machine/stdio_dep.o \
scsh/machine/time_dep1.o \
@ -122,6 +123,7 @@ SCSHOBJS = \
scsh/machine/libansi.o \
scsh/network.o scsh/network1.o \
scsh/putenv.o \
scsh/rdelim.o \
scsh/rx/re-low.o scsh/rx/re1.o \
scsh/select.o scsh/select1.o \
scsh/sleep1.o \
@ -158,8 +160,8 @@ enough: $(VM) $(IMAGE) go $(LIBCIG) scsh $(LIBSCSH)
# External code to include in the VM
# After changing any of these you should delete `scheme48vm' and remake it.
CIGGED = flock network select syscalls tty time sighandlers re_low
#re rdelim
CIGGED = flock network select syscalls tty time sighandlers re_low rdelim
#re
CIGGEDOBJ = $(patsubst %,scsh/%.o, $(CIGGED))
CIGGEDINIT = $(patsubst %,s48_init_%, $(CIGGED))
@ -216,7 +218,7 @@ scsh/userinfo1.o: scsh/userinfo1.h
scsh/fdports1.o scsh/fdports.o: scsh/fdports1.h
scsh/flock1.o scsh/flock.o: scsh/flock1.h
scsh/network1.o scsh/network.o: scsh/network1.h
scsh/re1.o scsh/re.o: scsh/re1.h
#JMG exists no longer in 0.5.2scsh/re1.o scsh/re.o: scsh/re1.h
scsh/select1.o scsh/select.o: scsh/select1.h
scsh/syscalls1.o scsh/syscalls.o: scsh/syscalls1.h
scsh/time1.o scsh/time.o: scsh/time1.h

View File

@ -111,10 +111,11 @@ SCSHVMHACKS = scsh/proc2.o
#JMG: and it's object files
#JMG left out: scsh/re.o scsh/re1.o scsh/regexp/regexp.o scsh/regexp/regsub.o
# scsh/fdports1.o
# scsh/rdelim.o
#
#
SCSHOBJS = \
scsh/dirstuff1.o \
scsh/fdports1.o \
scsh/flock.o scsh/flock1.o \
scsh/machine/stdio_dep.o \
scsh/machine/time_dep1.o \
@ -122,6 +123,7 @@ SCSHOBJS = \
scsh/machine/libansi.o \
scsh/network.o scsh/network1.o \
scsh/putenv.o \
scsh/rdelim.o \
scsh/rx/re-low.o scsh/rx/re1.o \
scsh/select.o scsh/select1.o \
scsh/sleep1.o \
@ -158,8 +160,8 @@ enough: $(VM) $(IMAGE) go $(LIBCIG) scsh $(LIBSCSH)
# External code to include in the VM
# After changing any of these you should delete `scheme48vm' and remake it.
CIGGED = flock network select syscalls tty time sighandlers re_low
#re rdelim
CIGGED = flock network select syscalls tty time sighandlers re_low rdelim
#re
CIGGEDOBJ = $(patsubst %,scsh/%.o, $(CIGGED))
CIGGEDINIT = $(patsubst %,s48_init_%, $(CIGGED))
@ -216,7 +218,7 @@ scsh/userinfo1.o: scsh/userinfo1.h
scsh/fdports1.o scsh/fdports.o: scsh/fdports1.h
scsh/flock1.o scsh/flock.o: scsh/flock1.h
scsh/network1.o scsh/network.o: scsh/network1.h
scsh/re1.o scsh/re.o: scsh/re1.h
#JMG exists no longer in 0.5.2scsh/re1.o scsh/re.o: scsh/re1.h
scsh/select1.o scsh/select.o: scsh/select1.h
scsh/syscalls1.o scsh/syscalls.o: scsh/syscalls1.h
scsh/time1.o scsh/time.o: scsh/time1.h

Binary file not shown.

View File

@ -508,8 +508,9 @@
waiting-for-i/o? ;scheduler
steal-channel-port! ;command
steal-channel! ;JMG: For scsh.
steal-channel! ;JMG: 3 For scsh.
steal-port!
channel-cell-ref
input-channel->port ;usual-resumer posix
output-channel->port ;usual-resumer posix

View File

@ -22,9 +22,6 @@
;;; next-range next-:range These four functions are used in the
;;; next-range: next-:range: code output by the expander.
;;; This should be hacked to convert regexp strings into regexp structures
;;; at the top of the form, and then just refer to the structs in the
;;; tests.
;;; Examples:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

View File

@ -1,5 +1,6 @@
/* This is an Scheme48/C interface file,
** automatically generated by a hacked version of cig 3.0.
step 4
*/
#include <stdio.h>

View File

@ -199,6 +199,7 @@
(else (string-set! buf i (read-char port))
(lp (+ i 1))))))))))
(foreign-init-name "rdelim")
(foreign-source
"#include <sys/types.h>"

View File

@ -157,7 +157,7 @@
;;; I is the index of the char following the left brace.
(define (parse-posix-braces s i)
(let ((comma (string-index s #\,) i)
(let ((comma (string-index s #\, i))
(rb (string-index s #\} i)))
(if rb
(if (and comma (< comma rb))

View File

@ -124,6 +124,8 @@
fdes-status
set-fdes-status
init-fdports! ;added by JMG
force-output
; set-port-buffering
bufpol/block

View File

@ -234,7 +234,7 @@
sighandlers ; New in release 0.5.
scsh
; re
; rdelim ;rdelim omitted for noew by JMG
rdelim ;rdelim omitted for now by JMG
)
; (optimize auto-integrate)
)
@ -331,7 +331,8 @@
sre-syntax-tools
scheme
)
(files awk))
(files awk)
(optimize auto-integrate))
(define-structure awk-package awk-interface

View File

@ -65,7 +65,15 @@
; (with-interrupts mask (lambda () body ...)))
(define-simple-syntax (with-enabled-interrupts mask body ...)
(begin body ...))
;(define with-enabled-interrupts* with-interrupts)
(define (with-enabled-interrupts* thunk thunk)
(warn "JMG: use of with-enabled-interrupts*")
(thunk))
(define (set-enabled-interrupts . args)
(warn "JMG: use of set-enabled-interrupts")
#f)
(define-enumeration scsh-os-signal
(i/o-completion

View File

@ -886,7 +886,7 @@
;;; (var . val) / "var=val" rep conversion:
(define (split-env-string var=val)
(let ((i (index var=val #\=)))
(let ((i (string-index var=val #\=)))
(if i (values (substring var=val 0 i)
(substring var=val (+ i 1) (string-length var=val)))
(error "No \"=\" in environment string" var=val))))