RSS Forums RSS

Lexer- Tokenizer problem

Please support our C++ advertiser: Programming Forums
Reply
Posts: 202
Reputation: n.aggel is an unknown quantity at this point 
Solved Threads: 9
n.aggel's Avatar
n.aggel n.aggel is offline Offline
Posting Whiz in Training

Re: Lexer- Tokenizer problem

  #11  
Aug 30th, 2007
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!
Reply With Quote  
Posts: 202
Reputation: n.aggel is an unknown quantity at this point 
Solved Threads: 9
n.aggel's Avatar
n.aggel n.aggel is offline Offline
Posting Whiz in Training

Re: Lexer- Tokenizer problem

  #12  
Aug 30th, 2007
Originally Posted by iamthwee View Post
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...
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the C++ Forum
Views: 1458 | Replies: 11 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:02 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC