From owner-freebsd-current Wed Sep 5 22:12:40 2001 Delivered-To: freebsd-current@freebsd.org Received: from devonshire.cnchost.com (devonshire.concentric.net [207.155.248.12]) by hub.freebsd.org (Postfix) with ESMTP id BFC5237B403 for ; Wed, 5 Sep 2001 22:12:37 -0700 (PDT) Received: from bitblocks.com (adsl-209-204-185-216.sonic.net [209.204.185.216]) by devonshire.cnchost.com id BAA29542; Thu, 6 Sep 2001 01:12:27 -0400 (EDT) [ConcentricHost SMTP Relay 1.14] Message-ID: <200109060512.BAA29542@devonshire.cnchost.com> To: Kris Kennaway Cc: Jim Bryant , Dave Cornejo , Poul-Henning Kamp , current@freebsd.org Subject: Re: HEADS UP: ACPI CHANGES AFFECTING MOST -CURRENT USERS In-reply-to: Your message of "Wed, 05 Sep 2001 20:33:44 PDT." <20010905203344.A82981@xor.obsecurity.org> Date: Wed, 05 Sep 2001 22:12:27 -0700 From: Bakul Shah Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > I doubt if the bootloader will ever change from FORTH, but if it > > does, I suggest LISP as the preferred choice on a short-list of > > potential replacements. > > Show us a suitable LISP interpreter, then. I don't know what size constraints the bootloader has to have but the smallest two lisp interpreters I have found are: $ cd /usr/ports/lang/slisp/work/slisp-1.2/src $ size slisp text data bss dec hex filename 17872 616 3584 22072 5638 slisp $ wc *.h *.c 67 321 2266 extern.h 69 335 2053 slisp.h 927 2438 15990 funcs.c 189 730 4707 lexer.c 147 458 3232 main.c 287 832 6358 object.c 136 470 3370 parser.c 1822 5584 37976 total slisp has most of the common lisp constructs. $ cd ~/lang/Scheme/tinyscm-1.27 $ size scheme text data bss dec hex filename 61342 4476 3480 69298 10eb2 scheme $ wc *.h *.c 12 33 247 dynload.h 344 1136 9221 scheme.h 126 292 2589 dynload.c 4445 12353 125421 scheme.c 4927 13814 137478 total Tinyscheme is a mostly complete R5RS Scheme (R5RS is the closest thing to a Scheme standard) -- everything except complex and rational number types, bignums, hygenic macros and call-with-values and unwind-protect. You can probably subset it quite a bit to make it far smaller (e.g. the real number type and advanced math functions to avoid linking in libm). If it matters to you, it has a BSD style licence. http://tinyscheme.sourceforge.net/home.html http://tinyscheme.sourceforge.net/tinyscheme-1.27.tar.gz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message