¿ªÔÆÌåÓý

Re: Trouble ahead


 

Forth is a write-only language. Talking if postscript... In 1989, fresh out of college, I took on a really ambitious project to build a typesetting system for my mother tongue: Urdu. Working with turbo c, on a single floppy 8088 running at 12 mhz, I managed a ridiculous contraption : the fonts were stored as graphics described in text files of AutoCAD in dxf format. The system parsed the files and scaled them and rewrote the page full of text in dxf format. The system took about two hours to do one page.
I got sick of it, I went to a local college bookstore and bought a book in computer graphics. I learnt to draw lines using DDA algorithm and fill polygons using odd-evdn rules. I kept optimising it until i wrote the innee loops with inline assembly, finally producing a wysiwyg editor. I remember that i finished the polygon filling in one night.
Why am I saying all this? Much of that code is in ubitx text display routines!
- f

On Mon 22 Mar, 2021, 9:48 PM Jerry Gaffke via , <jgaffke=[email protected]> wrote:
I was inspired to dig through boxes in the basement,?
Yes, I still have Loeliger's book, with my scribbled notes in the margins.

As a bonus I found my first edition of K&R's C book, also full of ancient notes.
Had figured a coworker must have borrowed it from my bookcase some 20 years ago
thinking it was a current edition.

Building a Forth-like threaded interpretive language from scratch could be fun.
We could make those Si5351 routines look really mysterious.? ?;-)

Jerry

On Mon, Mar 22, 2021 at 01:12 AM, Ashhar Farhan wrote:
I still have the FORTH book on my shelf!

Join [email protected] to automatically receive all group messages.