> > > Show us a suitable LISP interpreter, then.
> > 
> > $ cd ~/lang/Scheme/tinyscm-1.27
> > $ size scheme 
> >    text    data     bss     dec     hex filename
> >   61342    4476    3480   69298   10eb2 scheme
> 
> Is that statically-linked?  I'm curious to know the size of the bootloader
> forth footprint.  The loader is about 150k, so I'm sure you could probably
> fit a nice Scheme interpreter in under that size... ??

mass:/usr/obj/local0/build/src/sys/boot/ficl>size libficl.a 
   text    data     bss     dec     hex filename
    105    3968       0    4073     fe9 softcore.o (ex libficl.a)
    296       0       0     296     128 sysdep.o (ex libficl.a)
  20636     268       0   20904    51a8 words.o (ex libficl.a)
   4472      12       0    4484    1184 tools.o (ex libficl.a)
   1684       0       0    1684     694 search.o (ex libficl.a)
    856       0       0     856     358 math64.o (ex libficl.a)
   2200      64       0    2264     8d8 vm.o (ex libficl.a)
   2804       0       0    2804     af4 loader.o (ex libficl.a)
    624      12       0     636     27c prefix.o (ex libficl.a)
    840       0       0     840     348 stack.o (ex libficl.a)
   2468      16       0    2484     9b4 ficl.o (ex libficl.a)
   2620       0       0    2620     a3c dict.o (ex libficl.a)

ie. almost all of the size is the dictionary/runtime library.

It's quite hard to beat this, and to be frank, Scheme's syntax is not much
better than Forth's. 8)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to