News:

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

Main Menu

Support for new language

Started by lwlodar, July 04, 2008, 11:19:48 AM

Previous topic - Next topic

lwlodar

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

danselmi

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
spell checker plugin: [url="http://developer.berlios.de/projects/spellchecker/"]http://developer.berlios.de/projects/spellchecker/[/url]
nassi shneiderman plugin: [url="http://developer.berlios.de/projects/nassiplugin"]http://developer.berlios.de/projects/nassiplugin[/url]