Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Source Formatter
Ceniza:
I have ~good and bad news.
The ~good news: I've started another Source Formatter plugin only for C/C++. So far I have a hardcoded lexer, a console test program and a test plugin. It just tests the lexer, so it takes the whole file and modifies it with a (TOKEN, "lexeme") pair from the first to the last token found.
The bad news: I have barely 1 week of vacations left and most of my projects have never been finished (I read it over and over again and it sounds weird, but deep inside it makes sense). If I come with a working version of this plugin, you'll surely flood my e-mail, thru SF, with bug reports and feature requests, plus some posts, surely, in this thread, instead of giving me support, right? Tell me I'm wrong :P
I've had some ideas about the parser (it's a simpler one 'cause it won't need to build an AST or anything like that). I need to write them on paper and check viability.
I'll commit it to my personal SVN or CVS in a few hours, I hope. If it gets to a working state I'll tell you how to get access or beg a developer to put it in contrib.
Michael:
--- Quote from: Ceniza on January 14, 2006, 08:37:24 am ---The bad news: I have barely 1 week of vacations left and most of my projects have never been finished (I read it over and over again and it sounds weird, but deep inside it makes sense). If I come with a working version of this plugin, you'll surely flood my e-mail, thru SF, with bug reports and feature requests, plus some posts, surely, in this thread, instead of giving me support, right? Tell me I'm wrong :P
--- End quote ---
Well, may be wrong is too much :), because I have quite always seen in this forum some people available for help. In my case, I could provide some help, but unfortunately not this month (because of my project and some exams :(). In February, I would be more free. So, if you need something, just ask :D.
Concerning the parser, did you take into consideration rickg22's parser, eranif's parser (with SQLite) and "my" small recursive parser?
Best wishes,
Michael
Ceniza:
--- Quote from: Michael ---Concerning the parser, did you take into consideration rickg22's parser, eranif's parser (with SQLite) and "my" small recursive parser?
--- End quote ---
Hmmm, no? :P
I'll try to get something for the next week. I'll just continue thinking about the implementation and customization issues.
And thank's for offering yourself to help. I'll have you in mind for the next month :)
Michael:
--- Quote from: Ceniza on January 14, 2006, 09:32:21 pm ---
--- Quote from: Michael ---Concerning the parser, did you take into consideration rickg22's parser, eranif's parser (with SQLite) and "my" small recursive parser?
--- End quote ---
Hmmm, no? :P
I'll try to get something for the next week. I'll just continue thinking about the implementation and customization issues.
--- End quote ---
I think that it could be useful to look at them and eventually ask questions. It could be helpful to avoid problems, pitfalls and so on.
--- Quote from: Ceniza on January 14, 2006, 09:32:21 pm ---And thank's for offering yourself to help. I'll have you in mind for the next month :)
--- End quote ---
Ok. Just ask and if I can, I will gladly help (and not just asking C::B devs for new features, bug fixes and so on :D).
Michael
takeshimiya:
I for one, think it will be way more easy to do things using a centralized parser like the one of eranif, or codestore, in the SDK.
Not only source formatting comes to mind, but a lot of other things (refactoring, code test coverage, documentation generated on the fly, class modeling, etc).
Navigation
[0] Message Index
[#] Next page
Go to full version