• Skip to content
  • Skip to primary sidebar

Rick Kinnaird

Day 1453 – YACC – What Does It All Mean?

January 1, 2021 by Rick Kinnaird 2 Comments

FREEDOM!

Friday January 1, 2021 (Happy New Year)

Election Day -59

20 Days until the Inauguration on January 20, 2021

Yesterday I entitled my screed – Time to Turn Over a New Leaf!

To which I say, “Naw.” In the best “Bah, Humbug” tradition.

I don’t want to rain on anybody’s parade, piss on it – maybe.

When I first got into computers a guy at Bell Labs had written YACC, which stands for “Yet Another Compiler Compiler.” In those days the Labs would document their work with a manual page explaining what the command did and oftentimes they would write a short paper which was included in a 3 ring binder of notes. In the short paper the programmer asked, “How many compile compilers do we need?”  It’s a  good question.

Compilers take one set of instructions (often called a computer language) and recode them into another set of instructions. Compiler compilers or cross-compilers do this between languages. Programmers found it easier to write a small amount of code that a new machine understood rather than rewriting all the code they had developed on an older machine. Think of it as using the same type of spark plug in a new car. If the old one works why remake it? 

The question of how many compiler compilers do we need is an interesting one in the sense of “How many times do we need to relearn the same stuff?” 

When I got into computers the way you did fancy printing was with NROFF or TROFF. At that time, or shortly before, IBM had these big bulky printers that were like manual typewriters but instead of having keys that struck the paper they had a chain with type on it. The chain whirled horizontally over the paper and a hammer came down to strike the printer chain at just the right time to impress the letter you wanted onto the paper. Yes there was a ribbon of ink in-between the paper and the type on the chain.

DEC Computers had figured out a way to format stuff on these printers and their program was called RUNOFF or ROFF for short. The idea was that they would hide in a file a series of wacky character combinations that would tell the computer what to do to format the printout. 

When I came along those printers were still in use as were other printers. One man at Bell Labs had taken the ROFF program and adopted it to a new operating system called UNIX. He called the program New ROFF or NROFF. All these printers had a fixed set of type. You couldn’t change fonts, but you could underline things by letting the chain printer whirl over the line a second time and have the underline character be hit. You could also BOLD things by having the same letter struck three times in the same place on the page. 

When typesetting printers came along, (ie those that you could change the font and font size) NROFF was extended to include those capabilities. The program was called TROFF, for Typesetting Run Off. 

The way all these programs worked was by placing character combinations starting usually in the first column of the file to tell the printer to do something. A “.B” in the first column would tell the printer to BOLD everything from here on out until it was told to stop or do something else. Those instructions are call “macros” and because they are placed in the actual text file therefore are called “in-line macros.”

I mention all this to say that when HTML came along and someone tried to explain to me that when the computer saw “<b>” it meant bold I said, “Oh, an in-line macro for bold.” I got the answer of, “No, no. See when it sees the <b> characters it knows to bold the print…” I smiled and thanked the person for their erudition.

Yesterday, I saw a car in the grocery store parking lot. It had a “LIBERTARIAN” bumper sticker and a “LEGALIZE FREEDOM” bumper sticker. I took a picture. As I got in my car this young man was gesturing at me. I stopped and rolled down my window.

“Why did you take a picture of my car?” he asked.

I thought for a split second. Much like the people who debate paper or plastic at the grocery store, and said, “I like you stickers.” 

He gave me a fist bump.

It wasn’t worth more. I had been here before.

I agree with Keith Obermann. The 140 Republican Congressmen who say the Electoral College vote should be overturned should not be seated and instead they should be prosecuted for sedition.

In my older age, I am mellowing. If when the Electoral College meets there is a mob of violent actors ready to overturn our democracy, I think they should meet the fate all traitors deserve. Just sayin’

Filed Under: Uncategorized

Reader Interactions

Comments

  1. dean jordan says

    January 1, 2021 at 5:13 pm

    Well put. I’m currently having a long running conversation with a friend about the proliferation of and insistence on 3D printers. We see it all the time, and as he says: These things cost a fortune, require constant updates for the rented software, and then output a stinky weird looking maybe works maybe doesn’t part. To which i also agree with and say, i could of made that out of wood, lighter, faster and better looking in a fraction of the time. A classic example of now is i’m making a headlamp for my onewheel. Current thinking is use battery’s from powertools. The missing ingredient is the part that the battery plugs into. Ran into a guy who’s friend had printed him one. I asked how long did it take, and he told me, ‘oh the machine ran all night.’ Looked like crap, and the printer didn’t include the slots for the actual battery to slide into, so he had to put another 4 hours into manually removing that material.

    My solution? Find a broken tool, cut off the interface and repurpose. Might take me about 10 minutes.

    Just sayin’.

    Reply
  2. Rick Kinnaird says

    January 1, 2021 at 10:27 pm

    The potential that 3D printers were supposed to deliver never really happened.
    Jay Leno has a 3D splatter metal printer in his garage.
    It’s handy for making parts for old cars.
    Provided you have an old part that you can scan.
    Then you can take that scan file and remake the original, even beefing it up a bit.
    If you are making a little piece then you might as well make as many that will fit on the table because it will take about as much time.
    But you are right. Lots of time and depending on the scan file reflects the quality of the outputted piece.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

About Me

Rick Kinnaird
I’m Rick Kinnaird, a writer of fictional adventure and travel. That means I write stories about things that never happened in places I’ve never been. This way facts don’t get in the way.

Recent Posts

  • Day 587 – The Amazing Sludge
  • Day 563 – God, Democracy, and Aliens
  • Day 561 – Lindsey Graham is Dead – Now What?
  • Day 550 – The Two or More Realities
  • Day 532 – I’m Back!

Archives

  • August 2026
  • July 2026
  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2017
  • January 2017

Categories

  • Bryce Holliwell
  • Fantasy
  • Holiday Letters
  • Mayan
  • Romance
  • Stocks and INvesting
  • Travel
  • Trump
  • Uncategorized

Copyright © 2026 · eleven40 Pro on Genesis Framework · WordPress · Log in