Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Feature Suggestion: Include-Walker

<< < (2/2)

Ceniza:
A good parser? You just need a good preprocessor. The code I have could be reworked a bit to implement that. It's already able to handle complex #if expressions, and it includes full macro replacing (at least it has passed all my evil tests).

I still need to insert hooks into it, so it can notify includes. I also need to allow the insertion of user defined macros (easy).

joubertdj:

--- Quote ---(at least it has passed all my evil tests)
--- End quote ---

Ceniza, if it can do Allegro's API ... then it passes my "holy grail" test :)

Ceniza:

--- Quote from: joubertdj on April 10, 2008, 03:41:04 pm ---
--- Quote ---(at least it has passed all my evil tests)
--- End quote ---

Ceniza, if it can do Allegro's API ... then it passes my "holy grail" test :)
--- End quote ---

Now that you mention it, it'd be a nice test. I even remember I had to create my own header file with all the function declarations (I took them from the API reference file IIRC), so Dev-C++ would read them from it to be able to code-complete. Oh, the old days!

I'll try to keep it mind to test it when I continue working on it. It should work fine after adding just a few minor details to the current code. I hope it does. If it doesn't, then I'll have more bugs to eat... er... fix :(

Navigation

[0] Message Index

[*] Previous page

Go to full version