Author Topic: Support for new language  (Read 4580 times)

lwlodar

  • Guest
Support for new language
« on: July 04, 2008, 11:19:48 am »
Hi,

I'm trying to give C::B support for some BASIC like language. Where shall I start from?

Last days I've been digging through source codes and my plan is as follows:
* build dedicated CompilerXXX class in C::B deriving from Compiler class
* add some CodeCompletition support (I have own parser and lexer) - for now I've  no idea how to do this
* build LINT fundation - this should be the easiest part as these are some new windows and a toolbar probably

There is one more thing - I'm using ant as compilation system - so I suppose make file style of building in C::B is what I shall use, but I miss setting environment variables before make/ant is invoked.
By the way - is there any tutorial for Plugins beginers or shall the C::B source code be my guide ?

Regards
  Leszek

Offline danselmi

  • Developer
  • Almost regular
  • *****
  • Posts: 203
Re: Support for new language
« Reply #1 on: July 16, 2008, 12:08:27 am »
Hi

Your question is a bit vague/open:
- what compiler/interpreted do plan you use?
- debugger?
- What is "LINT fundation"?

For plugin-beginners I recommend:
- http://wiki.codeblocks.org/index.php?title=Developer_documentation
- http://wiki.codeblocks.org/index.php?title=Code::Blocks_SDK_events
- http://prdownload.berlios.de/codeblocks/codeblocks_sdk_doc_r5046.chm

regards daniel