News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Is it possible to interface a new programming language with C::B?

Started by Null4Ever, March 10, 2017, 06:43:40 PM

Previous topic - Next topic

Null4Ever

Hello,

We're a small team working on a new programming language.

However, we don't plan to develop a new IDE (why reinvent the wheel)?

So my question is simple: Is it possible to interface our new language with C::B?

If yes, how to do so (i.e. where could we found documentation to do it).

TIA for your time to respond.

oBFusCATed

What are your goal for the integration - syntax highlight, code completion, debugger, formatting, building?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Null4Ever

Hi oBFusCATed, thank you for your post.

Quote from: oBFusCATed on March 10, 2017, 08:55:26 PM
What are your goal for the integration - syntax highlight, code completion, debugger, formatting, building?

First are syntax highlight, formatting and code completion.

Then bebugging would be a second phase with a big development from us.

Building should not be a real problem since our new cross platform (Linux, OS/X and Windows and plans for IOs and Android later) open source language uses the traditional gcc compiler suite.

So, all what can be done will be tried.

Now, we're looking for documentation to learn how to do each step.

TIA for any link.

stahta01

Code::Blocks uses an edited version of wxscintilla for Syntax Highlighting.
See if your Language is supported by http://scintilla.org/

Code::Blocks uses astyle for formatting.
See if your Language is supported by http://astyle.sourceforge.net/

Edit: Might wish to look at how Python Plugin was done. https://github.com/spillz/codeblocks-python

Tim S.

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Null4Ever