flex+bison and C++, second part

2006-07-18 Thread pasquale minervini
I'm giving some more tries to generate a C++ parser for a small language, here it's the result: http://www.neuralnoise.com/small_backup_2/ it's hevily ripped off by the example calc++, and I really don't know why I can't get scanner.cc (the file generated from "flex -+ -o scanner.cc scanner.ll")

flex+bison and C++

2006-07-17 Thread pasquale minervini
Hi, I just made a small parser using flex and bison, to integrate it in a bigger project, and it works like a charm; here it is: http://www.neuralnoise.com/small_backup/ . I'm now having problems generating a C++ parser (I'm currently trying to do it using the bison's "-d -S lalr1.cc" and flex'