Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Python Debugger
dmoore:
--- Quote from: oBFusCATed on September 21, 2012, 07:55:45 pm ---
--- Quote from: falldog on September 21, 2012, 04:51:13 pm ---And... may I use the open source code(like rpdb2 or JsonCpp) directly in CB?
I am not sure the licence is okay...
--- End quote ---
It depends on the future goals for the plugin. If you'd want to add it to our repo minimizing the dependencies should be your priority. Otherwise you can use whatever you want.
--- End quote ---
If we plan to add more support for python (e.g. code completion) then it might make more sense to do stuff outside of contrib and then use whatever dependencies we need to get the job done efficiently. The fortran plugin, which is maintained in an external repo but linked to contrib might be a good model for what to do here. I suspect that C/C++ will always be the core focus of mainline C::B development.
I don't think licenses of the libs we've mentioned should be an issue. They are all MIT/BSD.
--- Quote from: falldog on September 21, 2012, 04:51:13 pm ---On the other, I am wondering about performance of current implementation in socket,
Maybe use pipe is better!?
--- End quote ---
I doubt it would make all that much difference for this application, but I don't know for sure. Can jsonrpc be configured to use a pipe instead of socket? (something like this)
oBFusCATed:
I suppose having more languages supported in the main repo is better in terms of designing things.
I've not tried the fortran stuff, but I'm sure it does some hacks or duplicates features that are C/C++ only.
At the place I work most of the software is a mix of c++ and python, so getting python support integrated
in the IDE will be good for me. No matter I don't like python too much.
About the code-completion: We have to thing how to make an API for different languages or implementations.
dmoore:
--- Quote from: oBFusCATed on September 21, 2012, 09:32:04 pm ---I suppose having more languages supported in the main repo is better in terms of designing things.
I've not tried the fortran stuff, but I'm sure it does some hacks or duplicates features that are C/C++ only.
--- End quote ---
good point
--- Quote ---About the code-completion: We have to thing how to make an API for different languages or implementations.
--- End quote ---
Yes. Would require something analogous to your debugger work, I guess. Alternatively, we could just find some way to add language modules to the current codecompletion plugin.
oBFusCATed:
--- Quote from: dmoore on September 21, 2012, 09:51:10 pm ---Alternatively, we could just find some way to add language modules to the current codecompletion plugin.
--- End quote ---
But then you'll need to implement plugins inside the CC plugin, which doesn't sound nice. If it is common code or UI it should be move in the SDK.
MortenMacFly:
--- Quote from: oBFusCATed on September 21, 2012, 09:32:04 pm ---At the place I work most of the software is a mix of c++ and python, so getting python support integrated
in the IDE will be good for me. No matter I don't like python too much.
--- End quote ---
No, its quite nice separated. The last separation missing comes with the patch of danslemi nobody takes care of: To make indention become a plugin. I wonder wy nobody says "please commit!". I did - because this one of the last pieces missing for being able to support several languages and having separated their "specialities" just nice...
Please vote for danselmi - its all I can say...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version