Author Topic: Other language/compiler  (Read 2602 times)

Offline Jogai

  • Single posting newcomer
  • *
  • Posts: 5
Other language/compiler
« on: May 30, 2008, 10:02:08 pm »
Is it possible to integrate other languages and compilers into c::b?

ATM i'm working on a visual RPG classic project and their ide sucks. Like an old vb editor.
No code completion, no automatic tabs and barely code highlighting.
It would be a lot faster and easyer when I could use c::b.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9504
Re: Other language/compiler
« Reply #1 on: June 02, 2008, 09:42:30 am »
Is it possible to integrate other languages and compilers into c::b?
Of course. There are usually two possibilities:
1.) Your compiler is a variant of an existing compiler (e.g. a later / modified version of GCC). Then it is often possible to just create a copy of the "mother" compiler and adjust the compiler settings.
2.) If it is another compiler than it depends on the language. If it's a C/C++ style language than you can easily implement another compiler yourself based on an existing one (inspect the compiler plugin for details). This is usually quite easy, too but requires you to compile C::B yourself which (hehe...) is easy, too. BTW: If you have done this the patch would be most welcome.

But please give more details about the compiler you want to have support4ed to answer more precisely.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline Jogai

  • Single posting newcomer
  • *
  • Posts: 5
Re: Other language/compiler
« Reply #2 on: June 02, 2008, 02:25:12 pm »
As i said its asna visual RPG ( http://www.asna.com/index/Products/WindowsComDevelopment/ ). It's a visual basic like language.
Is there a basic how to? (to make a patch)
I like to do it and would happily submit the patch back to the community. It will make me proud for that would be my first real contribution to an open source project!

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Other language/compiler
« Reply #3 on: June 02, 2008, 03:04:19 pm »
Hello,

may be this link would be useful:

Creating a patch to submit to BerliOS (Patch Tracker)

Best wishes,
Michael

Offline Jogai

  • Single posting newcomer
  • *
  • Posts: 5
Re: Other language/compiler
« Reply #4 on: June 04, 2008, 03:33:45 pm »
Is there a how to for integrating another programming language?
a how to lik this, but then a little further: http://wiki.codeblocks.org/index.php?title=Creating_a_plugin_that_actually_does_something