The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Sebastien F4GRX <f4grx@f4grx.net>
To: Thalia Archibald <thalia@archibald.dev>,
	Angelo Papenhoff <aap@papnet.eu>
Cc: TUHS <tuhs@tuhs.org>
Subject: [TUHS] Re: What is the intermediate code generated by the bc interpreter?
Date: Mon, 12 May 2025 17:21:28 +0200	[thread overview]
Message-ID: <4d76f0f5-5b57-4167-b514-6ff660c54adc@f4grx.net> (raw)
In-Reply-To: <4B6B3474-ACFE-4EF8-8541-3A84EF0C63E0@archibald.dev>

Hello,

On 12/05/2025 10:10, Thalia Archibald via TUHS wrote:
> I just watched your talk. Now the B intermediate language makes a lot more sense
> and I want to write a B compiler :).

I did that, it was fun. I did a recursive descent parser (from scratch, 
so without yacc), and made it generate some C code.

 From a practical aspect, having tasted C for years, I find B quite 
annoying and pointless outside the gigantic historical interest.

Sebastien



  reply	other threads:[~2025-05-12 15:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-11 10:28 [TUHS] " Jackson Helie G
2025-05-11 15:06 ` [TUHS] " Tom Teixeira
2025-05-12  6:26 ` Thalia Archibald via TUHS
2025-05-12  7:14   ` Angelo Papenhoff
2025-05-12  8:10     ` Thalia Archibald via TUHS
2025-05-12 15:21       ` Sebastien F4GRX [this message]
2025-05-12 10:58 Noel Chiappa
2025-05-12 13:38 ` Lars Brinkhoff
2025-05-12 13:42   ` Al Kossow
2025-05-12 14:52     ` Tom Teixeira
2025-05-12 15:09   ` arnold
2025-05-12 17:03     ` Lars Brinkhoff
2025-05-12 16:21 Noel Chiappa
2025-05-13 21:58 ` Clem Cole

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d76f0f5-5b57-4167-b514-6ff660c54adc@f4grx.net \
    --to=f4grx@f4grx.net \
    --cc=aap@papnet.eu \
    --cc=thalia@archibald.dev \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).