Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
New parser model for Code completion
killerbot:
Hello parser experts,
Maybe you can shed some light on this bug report of mine :
https://sourceforge.net/tracker/index.php?func=detail&aid=1323191&group_id=126998&atid=707416
The code completion does not kick in on function arguments. Is this a shortcoming in the current strategy/parser, or is it possible with the current mechanism and are we just suffering from a ?minor/major? bug. Any ideas for fixes ?
Thanks for your time,
Lieven
takeshimiya:
Rick, I want to say that I encourage your own parser work, but it is certain that you'll have to spend some years to reach a state compared to the other works.
rickg22:
TakeshiMiya: As I said, I only want to replicate Yiannis' parser functionality. Then we might be able to extend it or perhaps use the other parsers.
In any case, I'm still working on my tree model to improve the current parser's speed. I don't think it'll be easy to combine the current parser's memory model with the other parsers. In that case it would be better to start them completely from scratch, using a new memory model adapted to fit them. But I don't think I'm qualified to do that, because I don't know those parsers. On the other hand, you do seem to have knowledge about them :-)
(Besides, I've always wanted to do this, it's something like a personal challenge. Just like byo wanted to write his own RAD editor, I want to write my parser. But I don't guarantee that i might succeed on time, or even have be able to START working on it. As I said, my current circumstances only allow me to work on C::B half an hour daily, even less. So if anyone wants to try making their own improved code completion based on these parsers, they're welcome. Since my approach is different, I don't think I'll interfere with it.
Well, it's late now and I have to go to bed. See ya.
Michael:
Hello Rick and parser experts,
In a book I have bought time last year in Bangkok (I know that it would be a waste of money :)), there is a "simple" implementation of a parser for C++. This parser for C++ is part of a Mini-Interpreter for C++.
The implementation of the parser looks interesting and may be it could be useful for the development of your parser.
The code of the Mini-Interpreter for C++ belongs to the book The Art of C++ and It is freely available here.
After unzipping the file, use a text editor (As UltraEdit) to get the files of the Mini-Interpreter C++ (it is CHAP9.LST).
Best wishes,
Michael
rickg22:
Guys, look at this!
http://www.cee.hw.ac.uk/~alison/alg/lectures.html
I think these lectures will benefit us all.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version