Of course maybe consider missing the flex thing as well: $ sudo grep -r yylex /usr/ 2>&1 | grep matches [...] Binary file /usr//local/opt/flex/lib/libfl.a matches Binary file /usr//local/opt/flex/lib/libfl.dylib matches Binary file /usr//local/opt/flex/lib/libfl.2.dylib matches [...] $ _
Cheers, > On 6 May 2019, at 14:23, uxio prego <uxio.pr...@gmail.com> wrote: > > 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 <jp_ab...@id.uff.br> >> 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> >> _______________________________________________ >> help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison _______________________________________________ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison