Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!apple!well!jax From: jax@well.UUCP (Jack J. Woehr) Newsgroups: comp.lang.misc Subject: Re: Calling functions by address Summary: Simple Answer! Keywords: functions calling Message-ID: <6995@well.UUCP> Date: 1 Sep 88 04:40:38 GMT References: <679@mssx.UUCP> <5595@june.cs.washington.edu> Reply-To: jax@well.UUCP (Jack J. Woehr) Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 13 In article <5595@june.cs.washington.edu> pardo@cs.washington.edu (David Keppel) writes: >(much deleted) To the best of my knowledge, threaded >code cannot be generated portably from C. It may be possible to >generate by writing a special set of #defines and "fake functions", >having the compiler generate assembly, and then walking over the >assembly to generate the threading tables and the transfer sequences. Got the obvious answer, son ... learn Forth! ********** jax@well : INSIGHT ( ---) FORTH-PROGAMMER IF DONE-WORK-EARLY jax@chariot ELSE C-PROGRAMMER IF STAY-LATE THEN THEN ." :-)" ; JAX on GEnie