Avalible PreCompilers found on the forums:
DBP++ (C style Defines...)
ooDBP (Class Support...)
Design Preview uploaded 2007-March-06
RAR File is attached. DBPmC Should not crash. but be aware, its W.I.P ! compiling is disabled. same for pluginhandling (its just faking the plugin list same for compileing process)
DBPmC
This is a PreCompiler that will be able to call other precompiler EXE-files and supports easy to create plugins. Plugins use the JEDI Package (TJvPlugin) and will be created in DELPHI.
Features:
3 types of PreCompiler will be supported.
EXE-Standalone: just any exefile that does precompiling by itself
EXE-Piping: standalone provided with sourcefile, that outputs the the modified source to screen
Plugin: TJvPlugin that will be provided with a pointer to the source and modifies it.
Any plugin or PreCompiler that has a equally named file with the ending ".inc" will will be scanned for a <[[HILIGHT] ... ]> part and used. see below.
Special Includes
parts of the include files can be inclosed in tags that will place the the tag-content to its right place in the source file before compilation. tags can be commented out, so include testing in the editors will still work
<[[HILIGHT] ... ]>
adds the specified commands to the DBPmC Hilighter file for automatic use in editors. will not be added to source - (*1)
<[[INIT] ... ]>
TYPE and ENUM declarations that will be called on top of the source
<[[DEBUG] .... ]>
the marked area is used for testing the include in an editor and is displayed as example in the includes preview, will not be included in the source file for compilation
<[[REQUIRED] ... PLG:bla.dll ... EXE:bla.exe ... ]>
automated selection of required plugins, precompilers, includes. will not be added to source - (*1)
(*1) use remstart..remend instad of line comments to comment out the section for use in editor to be able to test the file
Setup
every editor can use this, since calling DBPmC without a parameter calls the setup. compiling just works the usual way. DBPmC takes the place of the original compiler, and calls the now renamed original compiler.
Project Dependend Configuration
DBPmC options can be saved globally (standart behavior) or be saved specially for a specific project.
ADDITION:
If an exe PreCompiler has "mode=piped" in its comments somewhere, the piped mode will be preselected in the "Load PreCompiler" -Settings.
DBPmC will support DLL creation, using your favorite IDE. you can use the standart commands - except any grafic related ones specific to DarkBASIC (its a DLL anyways, so no need for that). since DarkBASIC is not able to compile sourcecode to dlls, a DBPmC plugin will take care of this to create native WinAPI dlls that can be used in your projects (has to be downloaded seperatly-not in the standart DBPmC package).full pointer support. including a whole bunch of extra functions you can use in your DLL projects (mySQL, Lua, XML, zLib, Bass, CryptLib, Newton, WinSock, and other WinAPI related) - mind that those functions will only be able in the DLL but may be accessable if you write functions to export them. be aware that coding support is specifically supported for DLL creation!
Well the Point is:
There are a few ppl working on PreCompilers. The problem is to use all of them. You can only have one installed at a time. So this is intended to be able to call them one by one.
Since i was also up to create one, i thought i could extend this to a plugin system. I got a few ideas and including more and more, this could be a stable base. It allows to use PCs that are not intended for beeing able to be called seperatly.
Also to be able to auto-apply includefiles and for allready included files, add the possibility to move type defs to the top of the source, so compiling include files with type defs work without having to create gosubs and a like.
-Nabil/BananaAcid- The Banana has you...?!