Click here to Skip to main content
14,575,437 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: I'm stumped and in the worst way. Pin
Jörgen Andersson20-Feb-20 4:19
professionalJörgen Andersson20-Feb-20 4:19 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 4:29
mvahoney the codewitch20-Feb-20 4:29 
GeneralRe: I'm stumped and in the worst way. Pin
Jörgen Andersson20-Feb-20 4:38
professionalJörgen Andersson20-Feb-20 4:38 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 5:13
mvahoney the codewitch20-Feb-20 5:13 
GeneralRe: I'm stumped and in the worst way. Pin
Marc Clifton20-Feb-20 4:23
mvaMarc Clifton20-Feb-20 4:23 
GeneralRe: I'm stumped and in the worst way. Pin
  Forogar  20-Feb-20 4:26
professional  Forogar  20-Feb-20 4:26 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 4:30
mvahoney the codewitch20-Feb-20 4:30 
GeneralRe: I'm stumped and in the worst way. Pin
Member 798912220-Feb-20 4:55
MemberMember 798912220-Feb-20 4:55 
I am slightly surprised. The first compiler I tried to understand thoroughly was a Pascal compiler, and I was surprised by how great efforts it made to avoid repeated error messages. E.g. if a type declaration failed, it went on with a pseudo-type-object for that type name that allowed "any" operation. If a non-existing variable was referenced, it created the variable, of a similar forgiving pseudo-type. And so on - lots of tricks to avoid repeated and false errors.

Sometimes we were frustrated by this strategy, as the "forgiving" strategy let other "real" errors pass by without an error message. This was in an age when compilation of even small projects could take minutes - it didn't take that large projects to cross the hour limit. Catching the maximum number of errors per compilation run was a quality measure of the compiler. It made perfectly sense to try to continue as far as possible after a compilation error. (And, with those compilation times, the make utility made far more sense than today!)

Btw: LALR parsers (often referred to "bottom up parsers") is far better suited for going on after errors than recursive descent parser are. But in the golden years of Pascal, at least nine out of ten Pascal compilers were recursive. I guess that some of the few Pascal compilers in use today are bottom up, though.
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 5:12
mvahoney the codewitch20-Feb-20 5:12 
GeneralRe: I'm stumped and in the worst way. Pin
0x01AA20-Feb-20 4:25
mve0x01AA20-Feb-20 4:25 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 4:31
mvahoney the codewitch20-Feb-20 4:31 
GeneralRe: I'm stumped and in the worst way. Pin
musefan20-Feb-20 4:47
Membermusefan20-Feb-20 4:47 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 5:09
mvahoney the codewitch20-Feb-20 5:09 
GeneralRe: I'm stumped and in the worst way. Pin
Member 1298255820-Feb-20 4:19
MemberMember 1298255820-Feb-20 4:19 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 4:33
mvahoney the codewitch20-Feb-20 4:33 
GeneralRe: I'm stumped and in the worst way. Pin
Member 1298255820-Feb-20 4:42
MemberMember 1298255820-Feb-20 4:42 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 4:54
mvahoney the codewitch20-Feb-20 4:54 
GeneralRe: I'm stumped and in the worst way. Pin
OriginalGriff20-Feb-20 4:21
mveOriginalGriff20-Feb-20 4:21 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 4:34
mvahoney the codewitch20-Feb-20 4:34 
GeneralRe: I'm stumped and in the worst way. Pin
OriginalGriff20-Feb-20 5:05
mveOriginalGriff20-Feb-20 5:05 
GeneralRe: I'm stumped and in the worst way. Pin
lopatir20-Feb-20 4:56
Memberlopatir20-Feb-20 4:56 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 5:02
mvahoney the codewitch20-Feb-20 5:02 
GeneralRe: I'm stumped and in the worst way. Pin
lopatir20-Feb-20 5:39
Memberlopatir20-Feb-20 5:39 
GeneralRe: I'm stumped and in the worst way. Pin
Gerry Schmitz20-Feb-20 6:17
mveGerry Schmitz20-Feb-20 6:17 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 6:30
mvahoney the codewitch20-Feb-20 6:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.