Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Very first impressions and.... [FEATURE REQUESTS]
Re: Very first impressions and.... [FEATURE REQUESTS] [message #11441 is a reply to message #11438] Wed, 12 September 2007 18:40 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
mdelfede wrote on Wed, 12 September 2007 12:12

luzr wrote on Wed, 12 September 2007 17:48

Well, actually, we already have C++ parser Smile

All we need is that partial preprocessor.

The problem of your solution is that you really need to invoke the preprocessor each time you want the info. macros present or not, you need the complete sources up to the point of cursor.


No, you must invoke the preprocessor only when you make some changes in source code that need it, i.e. change a #define or an #ifdef or so. If you don't fiddle with preprocessor stuff, the previous preproc run is enough !



What file do you want to parse? Buffered file from preprocessor? Actual file you are working on?

Quote:


I'm not telling you that's an easy task, but I think it's much easier than to write a complete c++ preprocessor.



The preprocessor is the simple part... The hard part is caching logic.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Escaped backslash in string confuse editor [bug]
Next Topic: Strange behaviour of the query option of TheIDE
Goto Forum:
  


Current Time: Mon Aug 04 15:54:51 CEST 2025

Total time taken to generate the page: 0.05656 seconds