Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #659759

Re: Need a Laugh? Check the DooFuS Posts on Comp.Lang.C

From rbowman <bowman@montana.com>
Newsgroups comp.os.linux.advocacy
Subject Re: Need a Laugh? Check the DooFuS Posts on Comp.Lang.C
Date 2024-07-14 19:54 +0000
Message-ID <lfiooeFl1raU2@mid.individual.net> (permalink)
References <17e193b486847bee$317$2290655$802601b3@news.usenetexpress.com> <slrnv95245.3vk.candycanearter07@candydeb.host.invalid> <lffu7mF8h1fU2@mid.individual.net> <v70fbm$4m13$2@dont-email.me>

Show all headers | View raw


On Sun, 14 Jul 2024 08:12:38 -0400, Chris Ahlstrom wrote:

> I cloned a small MIDI-to-text project (something like midiconvert, IIRC)
> that used flex, and greatly extended it, adding a C++ version. Flex is
> painful. If I ever work on that app again, I'll write the parsers from
> scratch; I've already got a lot code in another couple projects that
> parses the files.

We have some legacy code that parses a configuration file to allow 
creating text reports. The configuration file is in a rather arcane sort 
of language I guess you would call it. It starts with a file that is run 
through flex to create an intermediate file that bison uses to create a .c 
file. Even better the programmer used some very creative macros so there 
really aren't any recognizable functions. The programmer had been a TA at 
the university and people who had him said he was big on commenting code 
but he didn't follow his own guidelines. Meaningful naming didn't happen 
either; 'ary' is much easier to type than 'array'. Anymore than three 
letters is a waste.

The theory was the clients or support could use the configuration files to 
prepare reports without involving programming. The practice is a few 
canned configurations were created and carefully copied from site to site. 
If there is a need to make minor changes programming receives a 'Help!' 
email.

So much for yaccs, bisons hairy or otherwise, flex, lex, and all their 
relatives. I don't even remember what the hairy bison was, possible a port 
of bison to AIX.

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Need a Laugh? Check the DooFuS Posts on Comp.Lang.C Lester Thorpe <lt@gnu.rocks> - 2024-07-12 21:15 +0000
  Re: Need a Laugh? Check the DooFuS Posts on Comp.Lang.C candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-07-13 14:10 +0000
    Re: Need a Laugh? Check the DooFuS Posts on Comp.Lang.C rbowman <bowman@montana.com> - 2024-07-13 18:09 +0000
      Re: Need a Laugh? Check the DooFuS Posts on Comp.Lang.C Lester Thorpe <lt@gnu.rocks> - 2024-07-13 21:17 +0000
      Re: Need a Laugh? Check the DooFuS Posts on Comp.Lang.C Chris Ahlstrom <OFeem1987@teleworm.us> - 2024-07-14 08:12 -0400
        Re: Need a Laugh? Check the DooFuS Posts on Comp.Lang.C Lester Thorpe <lt@gnu.rocks> - 2024-07-14 13:21 +0000
          Re: Need a Laugh? Check the DooFuS Posts on Comp.Lang.C Chris Ahlstrom <OFeem1987@teleworm.us> - 2024-07-15 09:13 -0400
        Re: Need a Laugh? Check the DooFuS Posts on Comp.Lang.C candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-07-14 15:00 +0000
        Re: Need a Laugh? Check the DooFuS Posts on Comp.Lang.C rbowman <bowman@montana.com> - 2024-07-14 19:54 +0000
    Re: Need a Laugh? Check the DooFuS Posts on Comp.Lang.C Lester Thorpe <lt@gnu.rocks> - 2024-07-13 20:17 +0000
      Re: Need a Laugh? Check the DooFuS Posts on Comp.Lang.C candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-07-14 15:10 +0000
      Re: Need a Laugh? Watch DFS tear Feeb a new one. DFS <nospam@dfs.com> - 2024-07-17 10:20 -0400
  Re: Need a Laugh? Watch DFS tear Feeb a new one. DFS <nospam@dfs.com> - 2024-07-13 17:29 -0400
    Re: Need a Laugh? Watch DFS tear Feeb a new one. Stéphane CARPENTIER <sc@fiat-linux.fr> - 2024-07-13 22:03 +0000
    Re: Need a Laugh? Watch DFS tear Feeb a new one. candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-07-14 15:00 +0000
      Re: Need a Laugh? Watch DFS tear Feeb a new one. Stéphane CARPENTIER <sc@fiat-linux.fr> - 2024-07-14 15:49 +0000
        Re: Need a Laugh? Watch DFS tear Feeb a new one. candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-07-14 16:10 +0000
        Re: Need a Laugh? Watch DFS tear Feeb a new one. L Thorpe <lt666@sixsixsix.net> - 2024-07-14 16:42 +0000
          Re: Need a Laugh? Watch DFS tear Feeb a new one. DFS <nospam@dfs.com> - 2024-07-14 13:22 -0400
          Re: Need a Laugh? Watch DFS tear Feeb a new one. Joel <joelcrump@gmail.com> - 2024-07-14 15:02 -0400
          Re: Need a Laugh? Watch DFS tear Feeb a new one. Stéphane CARPENTIER <sc@fiat-linux.fr> - 2024-07-14 20:45 +0000
            Re: Need a Laugh? Watch DFS tear Feeb a new one. Lester Thorpe <lt@gnu.rocks> - 2024-07-14 21:14 +0000
              Re: Need a Laugh? Watch DFS tear Feeb a new one. DFS <nospam@dfs.com> - 2024-07-14 18:00 -0400
                Re: Need a Laugh? Watch DFS tear Feeb a new one. Joel <joelcrump@gmail.com> - 2024-07-14 18:24 -0400
                Re: Need a Laugh? Watch DFS tear Feeb a new one. DFS <nospam@dfs.com> - 2024-07-14 23:00 -0400
                Re: Need a Laugh? Watch DFS tear Feeb a new one. Joel <joelcrump@gmail.com> - 2024-07-16 13:58 -0400
      Re: Need a Laugh? Watch DFS tear Feeb a new one. DFS <nospam@dfs.com> - 2024-07-14 14:40 -0400
        Re: Need a Laugh? Watch DFS tear Feeb a new one. candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-07-15 16:30 +0000

csiph-web