Date: Mon, 11 Jan 1999 21:52:18 +0900 From: "Daniel C. Sobral" <dcs@newsguy.com> To: Mike Smith <mike@smith.net.au> Cc: Joe Abley <jabley@clear.co.nz>, freebsd-hackers@FreeBSD.ORG Subject: Re: FICL and setting BTX variables Message-ID: <3699F402.565DB9B9@newsguy.com> References: <199901111023.CAA88602@dingo.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith wrote: > > There are two separate tasks, each with their own interesting > requirements. The easiest way to understand them is probably to look > at what the current perl scripts are doing. The first transforms the > Forth softwords files into a large string array, stripping all the > unnecessary bits; that's /sys/boot/ficl/softwords/softcore.pl. Yeah, I forgot two bits. The perl script also does cat <<EOF at the beginning and at the end of the generation, to insert some code, and all the lines for rule number 3 are enclosed in quotes. Well, run the perl script, it should be obvious. > > Run it as per the Makefile to see the output it produces; inferring the > rules from that should be pretty straightforward. Actually, reading the perl script should also be quite straightforward. It is commented, and one of the cleanests perl scripts I ever saw. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com If you sell your soul to the Devil and all you get is an MCSE from it, you haven't gotten market rate. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3699F402.565DB9B9>