From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 04:07:25 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 497C516A41F for ; Mon, 26 Dec 2005 04:07:25 +0000 (GMT) (envelope-from zettel@acm.org) Received: from rwcrmhc12.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id A09EB43D4C for ; Mon, 26 Dec 2005 04:07:23 +0000 (GMT) (envelope-from zettel@acm.org) Received: from [192.168.0.3] (pcp0011427575pcs.sothfd01.mi.comcast.net[69.246.103.241]) by comcast.net (rwcrmhc13) with ESMTP id <20051226035505015004som7e>; Mon, 26 Dec 2005 03:55:05 +0000 From: Leonard Zettel To: freebsd-questions@freebsd.org Date: Sun, 25 Dec 2005 15:56:55 +0000 User-Agent: KMail/1.8.3 References: <200512240716.29744.zettel@acm.org> <200512251450.14281.list-freebsd-2004@morbius.sent.com> <20051226023335.GD39217@dan.emsphone.com> In-Reply-To: <20051226023335.GD39217@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512251556.56470.zettel@acm.org> Cc: Dan Nelson , RW Subject: Re: Forth include ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: zettel@acm.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2005 04:07:25 -0000 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-