Re: Forth include ?

2005-12-25 Thread RW
On Saturday 24 December 2005 07:16, Leonard Zettel wrote:
 This undoubtedly is of no importance whatsoever,
 natheless this inquiring mind would like to know.

 The FreeBSD boot loader is written in Forth, which
 I happen to be able to read (sort of, anyway).
 EXCEPT the word include occurs in a number
 of places. I grant it is fair to middling obvious what it
 does. At the same time, I have not been able to find a definition
 for include in any of the reference materials I have on
 Forth. It is defninetly NOT ANS (or ISO) Forth (which specifies the
 words INCLUDE-FILE and INCLUDED).

 So 1) Can anybody give a stack picture for include ?
 2) What version/dialect of Forth does FreeBSD use
 and is there any place I can get documentation on it?

Looking through the source it appears it's not stricly speaking Forth, but 
rather FICL.

http://ficl.sourceforge.net/

FWIW I have seen include in older, pre-ansi,  versions of forth. 








___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Forth include ?

2005-12-25 Thread Dan Nelson
In the last episode (Dec 25), RW said:
 On Saturday 24 December 2005 07:16, Leonard Zettel wrote:
  This undoubtedly is of no importance whatsoever, natheless this
  inquiring mind would like to know.
 
  The FreeBSD boot loader is written in Forth, which I happen to be
  able to read (sort of, anyway). EXCEPT the word include occurs in
  a number of places. I grant it is fair to middling obvious what it
  does. At the same time, I have not been able to find a definition
  for include in any of the reference materials I have on Forth. It
  is defninetly NOT ANS (or ISO) Forth (which specifies the words
  INCLUDE-FILE and INCLUDED).
 
  So 1) Can anybody give a stack picture for include ?
  2) What version/dialect of Forth does FreeBSD use
  and is there any place I can get documentation on it?
 
 Looking through the source it appears it's not stricly speaking
 Forth, but rather FICL.
 
 http://ficl.sourceforge.net/
 
 FWIW I have seen include in older, pre-ansi,  versions of forth.

It looks like include is defined in
/sys/boot/ficl/softwords/fileaccess.fr
 

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Forth include ?

2005-12-25 Thread Leonard Zettel
On Monday 26 December 2005 02:33 am, Dan Nelson wrote:
 In the last episode (Dec 25), RW said:
  On Saturday 24 December 2005 07:16, Leonard Zettel wrote:
   This undoubtedly is of no importance whatsoever, natheless this
   inquiring mind would like to know.
  
   The FreeBSD boot loader is written in Forth, which I happen to be
   able to read (sort of, anyway). EXCEPT the word include occurs in
   a number of places. I grant it is fair to middling obvious what it
   does. At the same time, I have not been able to find a definition
   for include in any of the reference materials I have on Forth. It
   is defninetly NOT ANS (or ISO) Forth (which specifies the words
   INCLUDE-FILE and INCLUDED).
  
   So 1) Can anybody give a stack picture for include ?
   2) What version/dialect of Forth does FreeBSD use
   and is there any place I can get documentation on it?
 
  Looking through the source it appears it's not stricly speaking
  Forth, but rather FICL.
 
  http://ficl.sourceforge.net/
 
  FWIW I have seen include in older, pre-ansi,  versions of forth.

 It looks like include is defined in
 /sys/boot/ficl/softwords/fileaccess.fr
So it is! Thanks.
Now all we need is a mention in the handbook about where all
this can be found.
  -LenZ-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Forth include ?

2005-12-24 Thread Leonard Zettel
This undoubtedly is of no importance whatsoever,
natheless this inquiring mind would like to know.

The FreeBSD boot loader is written in Forth, which
I happen to be able to read (sort of, anyway).
EXCEPT the word include occurs in a number
of places. I grant it is fair to middling obvious what it
does. At the same time, I have not been able to find a definition
for include in any of the reference materials I have on
Forth. It is defninetly NOT ANS (or ISO) Forth (which specifies the
words INCLUDE-FILE and INCLUDED).

So 1) Can anybody give a stack picture for include ?
2) What version/dialect of Forth does FreeBSD use
and is there any place I can get documentation on it?

thanks in advance,
  -LenZ-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]