scsh-users
[Top] [All Lists]

Re: scsh-0.3

To: shivers@clark.lcs.mit.edu
Subject: Re: scsh-0.3
From: Bill Sommerfeld <sommerfeld@apollo.hp.com>
Date: Fri, 27 Jan 1995 13:59:53 -0500
Cc: scsh-bugs@martigny.ai.mit.edu
One of the things I recall you've commented on is a desire to allow
writers of scsh scripts to use the s48 module system.

I've bumped heads with the module system, and it took me a few tries
to understand it.  Maybe something a little simpler might also be
good.  A number of times, I've run into a a desire to load the
functions into scsh and bang on them interactively.

Something along the lines of:

#! /usr/local/bin/scsh -c main -s
!#
(define (main)
  (display "Hello, world")
  (newline))

.. which means "load the file, then invoke main with no arguments".
(yes, my C heritage is showing through here; I hope you can deal :-)).

This would not break existing scripts, but would allow me to load the
source file into an interactive scsh for debugging without invoking
the script's entrypoint.

   What *I* would like is an Edwin port to S48. With scsh, I could
   make edwin be the shell... How does that grab you?

I think I'd like to see a scsh-STk merger first..

                                        - Bill

<Prev in Thread] Current Thread [Next in Thread>
  • scsh-0.3, Axel Wienberg
    • scsh-0.3, Olin Shivers
      • Re: scsh-0.3, Bill Sommerfeld <=
        • Message not available
        • modules, Noah Friedman
    • scsh-0.3, Olin Shivers
      • Message not available