Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

New parser model for Code completion

<< < (2/16) > >>

rickg22:
Oops... did I say Finite State Automaton? I meant PushDown Automaton, because i'll be needing a stack to keep track of if/then blocks and methods, etc.

http://en.wikipedia.org/wiki/Pushdown_automaton

Michael:

--- Quote from: rickg22 on December 08, 2005, 07:27:30 pm ---Oops... did I say Finite State Automaton? I meant PushDown Automaton, because i'll be needing a stack to keep track of if/then blocks and methods, etc.
http://en.wikipedia.org/wiki/Pushdown_automaton

--- End quote ---
Thank you for adding the PushDown Automaton description to the wiki. Very interesting.

Michael

takeshi miya:
Great :)

How fits in that parser: attaching to an identifier (myfunction, myclass, myvariable) the surrounding comments?

ie.
// Save editor contents. Returns true on success, false otherwise.
virtual bool Save() { return true; }

wxString desc; // title of the regex

So when you are, let's say in the Symbols window (or completion window, or a tooltip), you can see the identifier with the surrounding comments.
Then automagically you won't requiere references manual of any library anymore. You'll have the API documentation right there :)

Once attached the comments to their respective identifier, they could be parsed also (ie. doxygen, javadoc style of comments).

Urxae:

--- Quote from: Michael on December 08, 2005, 07:43:58 pm ---
--- Quote from: rickg22 on December 08, 2005, 07:27:30 pm ---http://en.wikipedia.org/wiki/Pushdown_automaton

--- End quote ---
Thank you for adding the PushDown Automaton description to the wiki. Very interesting.

--- End quote ---

That's not the C::B wiki, that's Wikipedia. And for some reason I suspect that article already existed ;)...

Michael:

--- Quote from: Urxae on December 08, 2005, 07:55:44 pm ---That's not the C::B wiki, that's Wikipedia. And for some reason I suspect that article already existed ;)...

--- End quote ---
Oops...you're right :oops:

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version