Pascal not considered harmful - was Re: Rich kids are into COBOL

Johnny Billquist bqt at
Fri Feb 20 18:46:19 CST 2015

On 2015-02-21 01:02, Dave G4UGM wrote:
>> -----Original Message-----
>> From: cctalk [mailto:cctalk-bounces at] On Behalf Of Chuck
>> Guzis
>> Sent: 20 February 2015 23:00
>> To: General at; Discussion at and Off-
>> Topic Posts
>> Subject: Re: Pascal not considered harmful - was Re: Rich kids are into
>> On 02/20/2015 02:32 PM, Ali wrote:
>>> Excuse my ignorance but then how is a compiler written? I always
>>> thought that you would need to know op codes and assembler to write a
>> compiler. I.E.
>>> you can't write and efficient compiler by using a high level language.
> Almost all , so there exceptions,  modern compliers are written in a high
> level language. Most use LEXX and YACC or their modern equivalents to
> generate the program fragments needed to generate the code.

Uh... LEX and YACC are used for the frontend side. They do not have 
anything to do with code generation. :-)
Using LEX and YACC, you will still need to write the code that actually 
generates the output from the whole thing. LEX and YACC essentially 
implements the parsing of the source code for you.


Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt at             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol

More information about the cctalk mailing list