python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to run code on start of yylex and when token is matched in RE-flex
I was using RE-flex to generate a c++ Scanner for a project. I wanted to run code when a token is matched and I followed the Flex way of doing, but that ended up putting the code outside the function....
ishaangupte
Votes: 0
Answers: 1
Java Bison and Jflex error for redeclared/undeclared variables
I am making a compiler with Jflex and Bison. Jflex does the lexical analysis. Bison does the parsing.
The lexical analysis (in a .l file) is perfect. Tokenizes the input, and passes the input to the ....
Chronicle
Votes: 0
Answers: 1
Attempt to add a custom rule to output which already has a custom rule
I am using cmake to compile a library using flex & bison and I have this error:
CMake Error at /usr/share/cmake/Modules/FindBISON.cmake:279 (add_custom_command):
Attempt to add a custom rule to ...
SamHuffman
Votes: 0
Answers: 1
How to use Jflex and Bison Together?
I am really struggling to use Jflex and Bison together. For example, here's some sample code:
https://github.com/valecor95/bison-flex-jflex-examples/tree/master/Java/1_BalancedParentheses/BalPar1
You ...
izash
Votes: 0
Answers: 1