Taylor R Campbell | 26 Oct 2011 19:22
Favicon

Re: Minor POSIX overhaul

(Full reply quoted below for posterity after a forgotten cc.)

   Date: Tue, 25 Oct 2011 20:28:17 -0700
   From: Will Noble <will <at> cow9.org>

   I haven't changed the way this is accomplished: when POSIX gets initialized
   the C code has knowledge of the value of SIGSTOP from the system headers and
   has knowledge of the position of (signal stop) in the vector holding all the
   named signals, and it conveys this to the Scheme code. I converted the
   _rest_ to Scheme.

OK, that sounds reasonable, as long as you are always careful to make
sure that the OS-dependent numbers are ephemeral and don't make their
way into heap images.

It should really be unnecessary to write most of this code by hand,
but avoiding that nicely is hard and takes a lot more effort than I
have time for these days.  With apologies to posterity, I put some
sketches up at <http://mumble.net/~campbell/tmp/stubber-20100507.tgz>,
in a wretched, unpresentable state only because I don't expect to get
back to this in the foreseeable future.

   Date: Tue, 25 Oct 2011 20:28:17 -0700
   From: Will Noble <will <at> cow9.org>

   On Wed, Oct 26, 2011 at 12:53:06AM +0000, Taylor R Campbell wrote:
   > (Did you intend to reply privately, without ccing the list?)
   > 
   >    Date: Tue, 25 Oct 2011 17:33:39 -0700
   >    From: Will Noble <will <at> cow9.org>
(Continue reading)

Will Noble | 29 Oct 2011 22:26

Re: Minor POSIX overhaul

> It should really be unnecessary to write most of this code by hand,
> but avoiding that nicely is hard and takes a lot more effort than I
> have time for these days.  With apologies to posterity, I put some
> sketches up at <http://mumble.net/~campbell/tmp/stubber-20100507.tgz>,
> in a wretched, unpresentable state only because I don't expect to get
> back to this in the foreseeable future.

Stubber looks very cool! Like the GObject introspection library but with
Scheme instead of specially-formatted C comments. Much nicer. Too bad you
don't have time. I for one would like to see more come of this.

Best,
Will

Taylor R Campbell | 29 Oct 2011 22:41
Favicon

Re: Minor POSIX overhaul

   Date: Sat, 29 Oct 2011 13:26:07 -0700
   From: Will Noble <will <at> cow9.org>

   Stubber looks very cool! Like the GObject introspection library but with
   Scheme instead of specially-formatted C comments. Much nicer. Too bad you
   don't have time. I for one would like to see more come of this.

Do I hear a volunteer?

Unfortunately, the syntax crap is an unbelievably mega-kludgerific
enormous pile of hair -- I don't think it can be expressed more nicely
without some help in Scheme48's macro engine, although I don't
remember any details.  And fitting it into a coherent build system is
quite another problem...  But I think the basic idea of the language
is sound.  If you do want to pick it up, feel free to ask me questions
about the intent, a great deal of which has not been explicated (and
which is excruciatingly easy to get wrong).

Michael Sperber | 20 Nov 2011 13:24
Picon

Re: Minor POSIX overhaul


I've finally had time to review these changes - looking good, pulled &
pushed.  Thanks!

--

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


Gmane