Another C compiler?

discussion of beeb/electron applications, languages, utils and educational s/w
Post Reply
User avatar
davidb
Posts: 2086
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Another C compiler?

Post by davidb » Wed Aug 30, 2017 11:10 pm

Browsing the preliminary schedule of talks for the year's PyCon UK, this one looks intriguing: Tales of C, the 6502 and the BBC (with added python): How I learnt the hard way you shouldn't just write a C compiler.

I've not planned to go to PyCon UK this year. Perhaps others here have planned to go. If so, maybe this talk will be interesting for us retro folks. Hopefully there will be a video recording of it for later review. :)

User avatar
BigEd
Posts: 1891
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

Re: Another C compiler?

Post by BigEd » Thu Aug 31, 2017 6:51 am

Great find! I think this is the repo for the project:
https://github.com/benjaminmisell/bbc-c

(I also found this unrelated but interesting story of building a C compiler over 40 days)

User avatar
BigEd
Posts: 1891
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

Re: Another C compiler?

Post by BigEd » Thu Aug 31, 2017 11:04 am

Same talk(?) in Cardiff a bit earlier:
http://www.pydiff.wales/events/2017-09-19.html

User avatar
Rich Talbot-Watkins
Posts: 1289
Joined: Thu Jan 13, 2005 5:20 pm
Location: Palma, Mallorca
Contact:

Re: Another C compiler?

Post by Rich Talbot-Watkins » Thu Aug 31, 2017 11:09 am

BigEd wrote:(I also found this unrelated but interesting story of building a C compiler over 40 days)
Great link Ed! Always fancied trying to write a compiler for a toy language of my own, just for the challenge, but have never been quite sure where to even start. I'm not sure whether reading the Dragon Book from cover to cover is a good prerequisite, or whether the complexity it confers is enough to put anyone off trying!

User avatar
BigEd
Posts: 1891
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

Re: Another C compiler?

Post by BigEd » Thu Aug 31, 2017 11:17 am

You might be interested in a collection of links to C compiler efforts, at least a couple of which are intended to be educational:
http://anycpu.org/forum/viewtopic.php?f=8&t=447

User avatar
davidb
Posts: 2086
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: Another C compiler?

Post by davidb » Thu Aug 31, 2017 11:44 am

There's also a talk called What I learned building Forth in 64-bit Intel assembly: an excursion into what happens when one quirky language from the 1970s becomes a strange urge and a silly side-project. Apparently not by the author of JONESFORTH, it seems, though the authors share the same family name. :)

RobC
Posts: 2213
Joined: Sat Sep 01, 2007 9:41 pm
Contact:

Re: Another C compiler?

Post by RobC » Tue Sep 19, 2017 7:24 pm

BigEd wrote:Same talk(?) in Cardiff a bit earlier:
http://www.pydiff.wales/events/2017-09-19.html
I went to hear this talk tonight. The compiler is very much in development and is being used as a learning exercise.

The most impressive thing is that it's being written by a young man who I suspect is still at school. I'd never have had the guts to tackle writing a compiler at that age!

He's had some trouble connecting his Beeb to his Linux box so I mentioned that some on here might be able to help...

RobC
Posts: 2213
Joined: Sat Sep 01, 2007 9:41 pm
Contact:

Re: Another C compiler?

Post by RobC » Fri Oct 13, 2017 10:01 pm

Looking through some old Micro Users tonight, I came across this:
Brasscourt.jpg
Brasscourt.jpg (57.63 KiB) Viewed 159 times
Has anyone heard of this before?

(I wonder if this is the same company? https://beta.companieshouse.gov.uk/company/01863005)

EDIT: The surname Earle ties in with the address given in the advert so it looks like it is the same person.

Post Reply