The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Resurrecting the B (which came before C) programming language
@ 2017-01-08 16:00 Nelson H. F. Beebe
  2017-01-08 19:09 ` Angelo Papenhoff
  0 siblings, 1 reply; 2+ messages in thread
From: Nelson H. F. Beebe @ 2017-01-08 16:00 UTC (permalink / raw)


I was amused this morning to see a post on the tack-devel at lists.sourceforge.net
mailing list (TACK = The Amsterdam Compiler Kit) today from David Given,
who writes:

>> ...
>> ... I took some time off from thinking about register allocation (ugh)
>> and ported the ABC B compiler to the ACK. It's now integrated into the
>> system and everything.
>> 
>> B is Ken Thompson and Dennis Ritchie's untyped programming language
>> which later acquired types and turned into K&R C. Everything's a machine
>> word, and pointers are *word* address, not byte addresses.
>> 
>> The port's a bit clunky and doesn't generate good code, but it works and
>> it passes its own tests. It runs on all supported backends. There's not
>> much standard library, though.
>> 
>> Example:
>> 
>> https://github.com/davidgiven/ack/blob/default/examples/hilo.b
>> 
>> (Also, in the process it found lots of bugs in the PowerPC mcg backend,
>> now fixed, as well as several subtle bugs in the PowerPC ncg backend; so
>> that's good. I'm pretty sure that this is the only B compiler for the
>> PowerPC in existence.)
>> ...

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [TUHS] Resurrecting the B (which came before C) programming language
  2017-01-08 16:00 [TUHS] Resurrecting the B (which came before C) programming language Nelson H. F. Beebe
@ 2017-01-08 19:09 ` Angelo Papenhoff
  0 siblings, 0 replies; 2+ messages in thread
From: Angelo Papenhoff @ 2017-01-08 19:09 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1447 bytes --]

On 08/01/17, Nelson H. F. Beebe wrote:
> I was amused this morning to see a post on the tack-devel at lists.sourceforge.net
> mailing list (TACK = The Amsterdam Compiler Kit) today from David Given,
> who writes:
> 
> >> ...
> >> ... I took some time off from thinking about register allocation (ugh)
> >> and ported the ABC B compiler to the ACK. It's now integrated into the
> >> system and everything.
> >> 
> >> B is Ken Thompson and Dennis Ritchie's untyped programming language
> >> which later acquired types and turned into K&R C. Everything's a machine
> >> word, and pointers are *word* address, not byte addresses.
> >> 
> >> The port's a bit clunky and doesn't generate good code, but it works and
> >> it passes its own tests. It runs on all supported backends. There's not
> >> much standard library, though.
> >> 
> >> Example:
> >> 
> >> https://github.com/davidgiven/ack/blob/default/examples/hilo.b
> >> 
> >> (Also, in the process it found lots of bugs in the PowerPC mcg backend,
> >> now fixed, as well as several subtle bugs in the PowerPC ncg backend; so
> >> that's good. I'm pretty sure that this is the only B compiler for the
> >> PowerPC in existence.)
> >> ...

Some explanation: I wrote abc (https://github.com/aap/abc/) a few years
ago as a toy and because I was annoyed there was no B compiler around.
David and I met at VCFE Zürich in november where I told him about it.
He then proceeded to port it to the ACK.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-08 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-08 16:00 [TUHS] Resurrecting the B (which came before C) programming language Nelson H. F. Beebe
2017-01-08 19:09 ` Angelo Papenhoff

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).