From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 02:33:43 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 8321216A41F for ; Mon, 26 Dec 2005 02:33:43 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12CAF43D5C for ; Mon, 26 Dec 2005 02:33:42 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id jBQ2Xcn4005528; Sun, 25 Dec 2005 20:33:38 -0600 (CST) (envelope-from dan) Date: Sun, 25 Dec 2005 20:33:37 -0600 From: Dan Nelson To: RW Message-ID: <20051226023335.GD39217@dan.emsphone.com> References: <200512240716.29744.zettel@acm.org> <200512251450.14281.list-freebsd-2004@morbius.sent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200512251450.14281.list-freebsd-2004@morbius.sent.com> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: Forth include ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2005 02:33:43 -0000 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 dnelson@allantgroup.com