[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison + Flex on C++ don't work
From: |
uxio prego |
Subject: |
Re: Bison + Flex on C++ don't work |
Date: |
Mon, 6 May 2019 14:23:49 +0200 |
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 <address@hidden> 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>
> _______________________________________________
> address@hidden https://lists.gnu.org/mailman/listinfo/help-bison