DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   Lexer- Tokenizer problem (http://www.daniweb.com/forums/thread87834.html)

n.aggel Aug 30th, 2007 3:18 pm
Re: Lexer- Tokenizer problem
 
man, i did not know that boost had a parsing tool... unfortunately i was obligated to use bison and flex from the project guide lines!

n.aggel Aug 30th, 2007 3:21 pm
Re: Lexer- Tokenizer problem
 
Quote:

Originally Posted by iamthwee (Post 426561)
First you gotta know what your regular expressions are doing.

To me string_component [0-9a-zA-Z \t\.!#$%^&()*@_] and the example you have given is contradictory, like salem mentioned.

ok, maybe it is contradictory, but how can you express in flex the concept i wrote before? eg recognize some tokens and consider everything else a string...


All times are GMT -4. The time now is 11:05 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC