Author Topic: Is it possible to interface a new programming language with C::B?  (Read 3720 times)

Offline Null4Ever

  • Single posting newcomer
  • *
  • Posts: 4
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Is it possible to interface a new programming language with C::B?
« Reply #1 on: March 10, 2017, 08:55:26 pm »
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!]

Offline Null4Ever

  • Single posting newcomer
  • *
  • Posts: 4
Re: Is it possible to interface a new programming language with C::B?
« Reply #2 on: March 10, 2017, 10:11:08 pm »
Hi oBFusCATed, thank you for your post.

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.
« Last Edit: March 10, 2017, 10:13:49 pm by Null4Ever »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Is it possible to interface a new programming language with C::B?
« Reply #3 on: March 10, 2017, 10:44:31 pm »
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.

« Last Edit: March 10, 2017, 10:49:28 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Null4Ever

  • Single posting newcomer
  • *
  • Posts: 4
Re: Is it possible to interface a new programming language with C::B?
« Reply #4 on: March 14, 2017, 06:24:12 pm »
Hi Tim S.

Thank you for the links.