Re: Bison + Flex on C++ don't work

uxio prego <[email protected]>
Newsgroups gmane.comp.parsers.bison.general
Message-ID <[email protected]>
Maybe related?

/usr/local$ find . | grep -i bison | grep -i lib
./Cellar/bison/3.1/lib
./Cellar/bison/3.1/lib/liby.a
[...]

I miss the dynamic version but

🤷‍♀️

Cheers,

Sent from my iPhone

> On 6 May 2019, at 02:37, Joao Pedro Abreu De Souza <[email protected]> wrote:
> 
> Hi folks. My friend Nicholas and I are trying to make a compiler for a
> simpler language(just expressions by now) with flex and bison using C++.
> 
> Using
> https://www.gnu.org/software/bison/manual/html_node/A-Complete-C_002b_002b-Example.html
> as a guide, we code the repository below, but when We try
> 
> bison -d parser.yy -o parser.cc
> lex scanner.l
> g++ lex.yy.cc parser.cc main.cc -o cppimp
> 
> 
> Give us the error in the file
> 
> repository : https://github.com/nicholas-barcelos/Cppimp
> 
> We try to change headers of place, move definitions of class, but nothing
> work. What are we making wrong? Thanks in advance
> <log.txt>
> _______________________________________________
> [email protected] https://lists.gnu.org/mailman/listinfo/help-bison

_______________________________________________
[email protected] https://lists.gnu.org/mailman/listinfo/help-bison
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.