[GoLUG] I just made my first Flex lexical analyzer Hello World
Omer Zak
w1 at zak.co.il
Sun Nov 12 16:36:25 EST 2023
All this discussion and the article remind me of the toy compiler
(technically, a cross-compiler) that I wrote at age 15.
The compiler was written in IBM 360 assembly language and ran on the
UCLA IBM 360/91 computer, to which I had access at the time.
The source was FFRF (Free-Form Restricted FORTRAN), a subset of
FORTRAN.
The target was CARDIAC cardboard computer
(https://en.wikipedia.org/wiki/CARDboard_Illustrative_Aid_to_Computation).
I learned compiler theory from Gries' book Compiler Construction for
Digital Computers
(https://www.amazon.com/Compiler-Construction-Digital-Computers-David/dp/047132776X).
The project took me few months of afternoons, using tools available at
1972.
Using today's tools, I might be able to complete it in less than two
weeks.
--- Omer Zak
On Sun, 2023-11-12 at 08:35 +0000, David Billsbrough wrote:
>
> It just might take you five years or longer. Try going here next
> Steve and you'll other folks:
>
> https://ruslanspivak.com/lsbasi-part1/
>
> I will also work on it myself ... just for fun!
>
> regards,
>
> David
> --David Billsbrough -- Amateur Radio Callsign: KC4ZVW
--
My Commodore 64 is suffering from slowness and insufficiency of memory;
and its display device is grievously short of pixels. Can anyone help?
My own blog is at https://tddpirate.zak.co.il/
My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with
which I may be affiliated in any way.
WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html
More information about the GoLUG
mailing list