SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
USA

SCOUG-Programming Mailing List Archives

Return to [ 30 | April | 2005 ]


Date: Sat, 30 Apr 2005 00:53:33 PDT7
From: "Gregory W. Smith" <gsmith@well.com >
Reply-To: scoug-programming@scoug.com
To: scoug-programming@scoug.com
Subject: SCOUG-Programming: Progress--Step 3

Content Type: text/plain

Steven Levine wrote:
> In <200504300006.j3U06doB017387@well.com>, on 04/29/05
> at 05:06 PM, "Gregory W. Smith" said:
>
> >So if PL/I cannot be processed by LEX and YACC, then this must be an
> >admission that the PL/I language cannot be specified by a BNF grammar.
>
> This is not quite true. My understanding is that YACC is a lalr(1) parser
> with some extended backtracking to avoid shift/reduce conflicts. LEX is
> basically a regular expression recognizer. This means the combo can
> define languages that a typical BNF can not. Of course there are are a
> number variations of BNF so one does need to be somewhat specific about
> which BNF is not sufficient.

Which goes a bit beyond what I really remember about compilers. My dragon
book has been stashed away in a box for several years. And my last real
effort in trying to understand compilers was tinkering with Ron Cain's
Small-C for the 8080 and the port to the 8086 that James Hendrix did in
Doctor Dobb's Journal.

> >Now the gotcha for OS/2 users: pl1-1.exe is meant to integrate with the
> >4.x versions of the Gnu Compiler Collection. The current GCC in EMX is
> >3.2.1 and the most recent GCC on my FreeBSD and Linux boxes is 3.3.
>
> Innotek's 3.3.5 for OS/2 is good enough to build a working Mozilla. What
> special features of 4.x does the generated pl1-1.exe require?

I'm not sure. I only skimmed the dcoumentation that I downloaded from
SourceForge. The 4.x suite is recommened, but I don't recall if it is
required. As I mentioned before, 3.3.x is the most common version on my
Linux, OS X, and FreeBSD boxes; however, one of my bleeding edge BSD
setups has version 3.4.
--
Gregory W. Smith (WD9GAY) gsmith@well.com

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".

For problems, contact the list owner at
"postmaster@scoug.com".

=====================================================


Return to [ 30 | April | 2005 ]



The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.