[GoLUG] I just made my first Flex lexical analyzer Hello World

David Billsbrough kc4zvw at earthlink.net
Sun Nov 12 03:35:09 EST 2023


Original Message --  Steve Litt <slitt at tro...>  wrote:
 

> Hi all,

> I just made my first Flex lexical analyzer Hello World, as follows:

  { trimmed }

> Like I say, this useless program is simply a hello world.

> My hope is that, in about 5 years, I'll be able to use flex and its
> semi-companion bison to create a parser for an incredibly easy keyboard
> friendly book authoring system superior to LyX, and much more flexible
> than Markdown or AsciiDoc.

SteveT,

I complied it without a lot of problems ... then ran it ... and the Earth didn't come to a stand-still or
nothing else of significance!   :-)

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
Chuluota, Florida * grid square: EL98kp * https://www.kc4zvw.us/
ARRL * AVR * BeagleBone * FreeBSD * Linux * PICmicro * RASPI * TAPR




More information about the GoLUG mailing list