Related articles |
---|
YACC vs C++ template classes l41315@alfa.ist.utl.pt (Alexandre Pinto) (1998-06-09) |
Re: YACC vs C++ template classes adam@netra.ertel.com.pl (Adam Przybyla) (1998-06-11) |
From: | Alexandre Pinto <l41315@alfa.ist.utl.pt> |
Newsgroups: | comp.compilers |
Date: | 9 Jun 1998 11:54:59 -0400 |
Organization: | Instituto Superior Tecnico |
Keywords: | C++, yacc, OOP, comment |
Hi!
I'm making an interpreter for a simple imperative language.
I'm using our old friends "Lex" & "Yacc".
The code I'm writing is in C++.
The problem is that I have a template class (for lists) that work just
fine by itself or in other aplications, but it just doesn't compile when I
use it with Yacc.
Can anybody help me? What's wrong with this? Is Yacc "C++-fobic" or
"template-fobic"?
Thanks,
___________________
__ , __. . , Alexandre.Pinto@camoes.rnl.ist.utl.pt
/_/ / /_ \/
/ / /_ /__ /'\ http://camoes.rnl.ist.utl.pt/~amsmp
[Yacc writes C code, not C++ code. There are a couple of C++-ized versions
of yacc available. See the archives. -John]
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.