Trying out the Lex/Yacc based C/C++ project sample

by Amit


NetBeans ships with a Lex/Yacc based simple application under the Samples > C/C++ category:

To try it out, you will need to have lex and yacc installed. On Debian, they are available in flex and bison package respectively.

Once the tools are installed, run the project and you can try the simple token recognizer:

Type something followed by Return. Type 'q' or 'Q' to end.

ab1
LOWERCASELETTER
LOWERCASELETTER
DIGIT

Ab67&
UPPERCASELETTER
LOWERCASELETTER
DIGIT
DIGIT
OTHER
Advertisements