Mastering Interpreters and Compilers - book

contribute new/updated software missing from online archives
Post Reply
User avatar
sydney
Posts: 2720
Joined: Wed May 18, 2005 10:09 am
Location: Newcastle upon Tyne
Contact:

Mastering Interpreters and Compilers - book

Post by sydney » Sat Feb 03, 2018 10:47 am

Lardo Boffin bought Mastering Interpreters and Compilers by Bruce Smith but doesn't have time to scan it so posted it to me and I'm going to try to get it scanned. Unfortunately, even though I've owned a number of scanners over the years, I don't think I've ever used one!

I've been re-reading this thread but any advice would be great!

User avatar
sydney
Posts: 2720
Joined: Wed May 18, 2005 10:09 am
Location: Newcastle upon Tyne
Contact:

Re: Mastering Interpreters and Compilers - book

Post by sydney » Sat Feb 03, 2018 10:59 am

I'm using 'Not another PDF Scanner 2' software.
Here are the options screens:
options1.png
advancedoptions.png
Here is a test scan:
png:
test1.png
tiff:
test1.tiff
test1.tiff (104.78 KiB) Viewed 2850 times
Is the scan any good? What are the best settings? Should I use different software?

User avatar
pau1ie
Posts: 720
Joined: Thu May 10, 2012 10:48 pm
Location: Bedford
Contact:

Re: Mastering Interpreters and Compilers - book

Post by pau1ie » Sat Feb 03, 2018 8:01 pm

Thanks to Lardo and you for doing this work.
Some characters are missing from the right side of the left page, maybe darkening it a little would help? But I would have thought that it would be possible to get the text out of the document as it is.

Edit - Should note that I don't really know anything about this!

User avatar
Lardo Boffin
Posts: 2169
Joined: Thu Aug 06, 2015 7:47 am
Contact:

Re: Mastering Interpreters and Compilers - book

Post by Lardo Boffin » Sat Feb 03, 2018 9:02 pm

pau1ie wrote:Thanks to Lardo and you for doing this work.
All I did was walk to the post office! 8) All credit to Sydney.
Adventure Language on GitHub
Atom, issue 5
Elk
A number of econetted (is that a word?) Beebs
BBC Master, Datacentre + HDD, pi co-proc, econet, NULA

User avatar
tricky
Posts: 4665
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: Mastering Interpreters and Compilers - book

Post by tricky » Sat Feb 03, 2018 9:04 pm

Thanks to both of you.
I've scanned and OCRed a couple about 10 years ago and that software would definitely have struggled with that, but hopefully things have improved in the meantime.
If it doesn't take too much longer, maybe try 600dpi and one notch less on the brightness.

User avatar
b_b_c_m_i_c_r_o_2
Posts: 272
Joined: Sun Jun 25, 2006 11:15 pm
Contact:

Re: Mastering Interpreters and Compilers - book

Post by b_b_c_m_i_c_r_o_2 » Sat May 05, 2018 7:00 pm

Did you complete your scan of the whole book successfully?
If a pdf exists then I can get rid of my copy of the book.

User avatar
Elminster
Posts: 4247
Joined: Wed Jun 20, 2012 9:09 am
Location: Essex, UK
Contact:

Re: Mastering Interpreters and Compilers - book

Post by Elminster » Sat May 05, 2018 9:06 pm

I have that book, will take a while to scan and process as quite large.

If you are going to ocr it I would max out the dpi and then reduce file size, I.e. quality, post ocr.

User avatar
lurkio
Posts: 2893
Joined: Wed Apr 10, 2013 12:30 am
Location: Doomawangara
Contact:

Re: Mastering Interpreters and Compilers - book

Post by lurkio » Sat May 05, 2018 9:35 pm

What we did for another book might help: if you're scanning monochrome (black and white) text, and if you DON'T want high-resolution archive-quality scans (but you do still want scans that can be OCR'd), then use your scanner's "Text" setting (image bit-depth = 1). And 300 dpi. If there's too much "noise" in the scanned image, adjust the scanner's "Threshold" setting.

But if you're scanning in colour... you're on your own!

:idea:

[EDITed for clarity.]
Last edited by lurkio on Tue Feb 18, 2020 11:16 am, edited 1 time in total.

User avatar
Elminster
Posts: 4247
Joined: Wed Jun 20, 2012 9:09 am
Location: Essex, UK
Contact:

Re: Mastering Interpreters and Compilers - book

Post by Elminster » Sat May 05, 2018 10:00 pm

I think that was the book/thread Sydney was referring to in the very first post :)

User avatar
lurkio
Posts: 2893
Joined: Wed Apr 10, 2013 12:30 am
Location: Doomawangara
Contact:

Re: Mastering Interpreters and Compilers - book

Post by lurkio » Sat May 05, 2018 10:09 pm

Elminster wrote:I think that was the book/thread Sydney was referring to in the very first post :)
#-o #-o #-o

User avatar
b_b_c_m_i_c_r_o_2
Posts: 272
Joined: Sun Jun 25, 2006 11:15 pm
Contact:

Re: Mastering Interpreters and Compilers - book

Post by b_b_c_m_i_c_r_o_2 » Mon Feb 17, 2020 8:04 pm

Does this book still need scanning?

User avatar
Lardo Boffin
Posts: 2169
Joined: Thu Aug 06, 2015 7:47 am
Contact:

Re: Mastering Interpreters and Compilers - book

Post by Lardo Boffin » Mon Feb 17, 2020 8:11 pm

b_b_c_m_i_c_r_o_2 wrote:
Mon Feb 17, 2020 8:04 pm
Does this book still need scanning?
I think so. I don’t think sydney did it.
Adventure Language on GitHub
Atom, issue 5
Elk
A number of econetted (is that a word?) Beebs
BBC Master, Datacentre + HDD, pi co-proc, econet, NULA


User avatar
roland
Posts: 4042
Joined: Thu Aug 29, 2013 9:29 pm
Location: Born (NL)
Contact:

Re: Mastering Interpreters and Compilers - book

Post by roland » Mon Feb 17, 2020 10:32 pm

I guess I am interested in this book. If you're willing to send it to me then I will scan it in return.

Oh ... What did I say now? How many pages does this book have :shock: ? Well, I will scan it anyway :D I alwas wanted to know how interpreters and compilers are written.
FPGAtom: 512 KB RAM, Real Time Clock and 64 colours
MAN WOMAN :shock:

User avatar
Lardo Boffin
Posts: 2169
Joined: Thu Aug 06, 2015 7:47 am
Contact:

Re: Mastering Interpreters and Compilers - book

Post by Lardo Boffin » Tue Feb 18, 2020 8:15 am

roland wrote:
Mon Feb 17, 2020 10:32 pm
I guess I am interested in this book. If you're willing to send it to me then I will scan it in return.

Oh ... What did I say now? How many pages does this book have :shock: ? Well, I will scan it anyway :D I alwas wanted to know how interpreters and compilers are written.
313 pages. :shock:
Adventure Language on GitHub
Atom, issue 5
Elk
A number of econetted (is that a word?) Beebs
BBC Master, Datacentre + HDD, pi co-proc, econet, NULA

User avatar
sydney
Posts: 2720
Joined: Wed May 18, 2005 10:09 am
Location: Newcastle upon Tyne
Contact:

Re: Mastering Interpreters and Compilers - book

Post by sydney » Tue Feb 18, 2020 10:31 am

I'm pretty sure someone sent me a PDF of the book which is why I didn't scan it. I was sure I posted it to the forum but it seems I didn't. I'll go back through my emails and PM's to see if I can find it.

User avatar
roland
Posts: 4042
Joined: Thu Aug 29, 2013 9:29 pm
Location: Born (NL)
Contact:

Re: Mastering Interpreters and Compilers - book

Post by roland » Tue Feb 18, 2020 9:52 pm

Lardo Boffin wrote:
Tue Feb 18, 2020 8:15 am
313 pages.
Well, 10 pages per day and it's done in a month :lol:
Still interested in this book. I'll just wait until Sidney finds his scans.
FPGAtom: 512 KB RAM, Real Time Clock and 64 colours
MAN WOMAN :shock:

User avatar
roland
Posts: 4042
Joined: Thu Aug 29, 2013 9:29 pm
Location: Born (NL)
Contact:

Re: Mastering Interpreters and Compilers - book

Post by roland » Wed Feb 19, 2020 11:55 am

I think this book is at https://www.everygamegoing.com/landingI ... Compilers/

Pages are in individual jpg but in good quality.

Edit: and now also on http://www.acornatom.nl/download/master ... pilers.pdf as one combined PDF document. I just glued all those jpgs together and made a 43MB PDF of it.
FPGAtom: 512 KB RAM, Real Time Clock and 64 colours
MAN WOMAN :shock:

User avatar
Lardo Boffin
Posts: 2169
Joined: Thu Aug 06, 2015 7:47 am
Contact:

Re: Mastering Interpreters and Compilers - book

Post by Lardo Boffin » Wed Feb 19, 2020 2:56 pm

Nice! And saved me some postage as well. :D
Adventure Language on GitHub
Atom, issue 5
Elk
A number of econetted (is that a word?) Beebs
BBC Master, Datacentre + HDD, pi co-proc, econet, NULA

User avatar
lurkio
Posts: 2893
Joined: Wed Apr 10, 2013 12:30 am
Location: Doomawangara
Contact:

Re: Mastering Interpreters and Compilers - book

Post by lurkio » Wed Feb 19, 2020 8:24 pm

This looks like an interesting book. I've asked dv8, the remastering master, if the scan is OCRable, and he said that the prose text is okay, but the listings don't OCR very well. He's not sure if that's because of the low-ish quality of the scan or because of the particular font used for the listings.

It would be good to get a decent scan of a sample page with some listing on it to send to dv8 so he'll be able to see if he can work with it...

[-o<

User avatar
b_b_c_m_i_c_r_o_2
Posts: 272
Joined: Sun Jun 25, 2006 11:15 pm
Contact:

Re: Mastering Interpreters and Compilers - book

Post by b_b_c_m_i_c_r_o_2 » Sun Feb 23, 2020 9:19 am

will look at getting an OCR version.

Post Reply

Return to “archive submissions”