From: aap@papnet.eu (Angelo Papenhoff)
Subject: [TUHS] B Source Code
Date: Mon, 18 Sep 2017 23:45:16 +0200 [thread overview]
Message-ID: <20170918214516.GA58781@indra.papnet.eu> (raw)
In-Reply-To: <CAC20D2NhqnCoGkfQGRpYJBfNDQ-T+7aXMdz02bo3VopZ5Xs-vQ@mail.gmail.com>
On 12/09/17, Clem Cole wrote:
> BTW: Check out: ybc: a compiler for B <https://github.com/Leushenko/ybc>
>
I may me a bit late now, but I would also like to add my B compiler, that
I wrote a few years ago: https://github.com/aap/abc/
I wasn't able to find another B compiler at the time but wanted to run
B code just for fun. I was also studying dmr's C compiler so I took a lot
of inspiration from his code and wrote this (rhe code generation is entirely mine
though, and terribly inefficient).
I haven't compiled it in a while and I suspect it's not as portable as
it should be, but it was only meant as a toy anyway...my first
parser/compiler/language.
I'm still planning to make it output PDP-6/10 code eventually.
aap
next prev parent reply other threads:[~2017-09-18 21:45 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-12 18:03 Robert Swierczek
2017-09-12 18:14 ` Clem Cole
2017-09-12 19:24 ` Clem Cole
2017-09-12 19:43 ` Steve Johnson
2017-09-18 21:45 ` Angelo Papenhoff [this message]
2017-09-19 17:01 ` Thorsten Sideboard
2017-09-12 19:36 ` Charles Anthony
2017-09-12 20:39 ` Robert Swierczek
2017-09-14 3:48 Doug McIlroy
2017-09-14 4:49 ` Larry McVoy
2017-09-14 5:06 ` Lars Brinkhoff
2017-09-14 12:53 ` Ronald Natalie
2017-09-14 5:33 ` Alec Muffett
2017-09-14 5:44 ` Warner Losh
2017-09-14 13:39 Noel Chiappa
2017-09-14 14:24 ` Dan Cross
2017-09-14 19:46 ` Derek Fawcus
2017-09-15 3:59 ` Dave Horsfall
2017-09-15 11:43 ` William Pechter
2017-09-19 1:20 ` Dave Horsfall
2017-09-15 12:44 ` Clem Cole
2017-09-15 13:03 ` Clem Cole
2017-09-15 15:21 Noel Chiappa
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=20170918214516.GA58781@indra.papnet.eu \
--to=aap@papnet.eu \
/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).