Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: LEX & YACC w/C++ ??
       [not found] <4qsn0e$2c4@news3.cts.com>
@ 1996-06-28  4:00 ` Tim Lucia
  1996-10-10  4:00 ` Jay Walters
  1 sibling, 0 replies; 3+ messages in thread
From: Tim Lucia @ 1996-06-28  4:00 UTC (permalink / raw)
  To: Stanley Phan

Stanley Phan wrote:
> 
> I was wondering if anyone knows if DEC has a special version
> of lex and yacc that will work with the DEC C++ compiler.
> 
> Right now, I seem to be having problems compiling the lex and yacc
> output with cxx.

The Digital Ladebug Debugger is written in C++ and uses the standard lex and yacc
(well, we've modified it for i18n and to bump up some limits, but no changes for
C++.)

What kind(s) of problem(s) are you seeing?

Regards,
Tim

-- 
Timothy J. Lucia                         Email:    mailto:lucia@zko.dec.com
Digital Equipment Corporation            Phone:           603.881.2615
110 Spitbrook Road ZK2-3Q08              Fax:             603.881.0120
Nashua, NH  USA  03062-2698              I'd rather be cycling.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: LEX & YACC w/C++ ??
       [not found] <4qsn0e$2c4@news3.cts.com>
  1996-06-28  4:00 ` LEX & YACC w/C++ ?? Tim Lucia
@ 1996-10-10  4:00 ` Jay Walters
  1996-10-14  4:00   ` Tim Lucia
  1 sibling, 1 reply; 3+ messages in thread
From: Jay Walters @ 1996-10-10  4:00 UTC (permalink / raw)



You could try flex and bison.  The latest versions of both have use terms 
which allow you to use their output in products which you sell.  Flex can 
generate a C++ class for the lexical analyzer, and you can just whip up a 
little sed script to modify the bison output to make it compile with cxx.

Cheers
Jay Walters
 
Stanley Phan (sphan@cts.com) wrote:

: I was wondering if anyone knows if DEC has a special version
: of lex and yacc that will work with the DEC C++ compiler.

: Right now, I seem to be having problems compiling the lex and yacc
: output with cxx.


: Thanks


: -Stanley




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: LEX & YACC w/C++ ??
  1996-10-10  4:00 ` Jay Walters
@ 1996-10-14  4:00   ` Tim Lucia
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Lucia @ 1996-10-14  4:00 UTC (permalink / raw)



> Stanley Phan (sphan@cts.com) wrote:
> 
> I was wondering if anyone knows if DEC has a special version
> of lex and yacc that will work with the DEC C++ compiler.
> 
> Right now, I seem to be having problems compiling the lex and yacc
> output with cxx.

The ladebug debugger's command line parser is written using Lex and Yacc
and ladebug is entirely written in C++.  We do not have any problems
compiling the output.  

Can you post an example of the problem you are encountering?

Regards,
Tim
-- 
Timothy J. Lucia                    Digital Ladebug Debugger Developer
Digital Equipment Corporation       lucia@zko.dec.com
110 Spitbrook Road ZK2-3Q08         Phone:           603.881.2615
Nashua, NH  USA  03062-2698         Fax:             603.881.0120



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-10-14  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4qsn0e$2c4@news3.cts.com>
1996-06-28  4:00 ` LEX & YACC w/C++ ?? Tim Lucia
1996-10-10  4:00 ` Jay Walters
1996-10-14  4:00   ` Tim Lucia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox