Looking for Unofficial BlitzBasic PreProcessor

Blitz3D Forums/Blitz3D Programming/Looking for Unofficial BlitzBasic PreProcessor

markcw(Posted 2008) [#1]
I am looking to get a copy of the Unofficial BlitzBasic PreProcessor (by Michael Reitzenstein) from someone. I have tried everywhere to find it and can't. If you could email me any copy of it I would be very happy.

Old threads about it.

New version of PreProcessor coming soon
Preprocessor profiling now more advanced
The Unofficial BlitzBasic Preprocessor Release 6.0
Unofficial BlitzBasic Preprocessor Release 5.0
The Unofficial BlitzBasic Preprocessor final version released!
Integratable Version Of PreProcessor Released
Blitz Preprocessor Released As Open Source


LineOf7s(Posted 2008) [#2]
HERE
I believe it's the latest version.


markcw(Posted 2008) [#3]
Great. A thousand thanks!


markcw(Posted 2008) [#4]
I have re-released this under the MIT license with Michael's permission, see bbp.zip here.
http://www.blitzmax.com/logs/userlog.php?user=8652&log=1737


Nate the Great(Posted 2008) [#5]
can someone explain what a precompiler is exactly


markcw(Posted 2008) [#6]
http://en.wikipedia.org/wiki/Preprocessor


Zethrax(Posted 2008) [#7]
Basically, a PreProcessor modifies the source code according to certain rules, before sending the source on to the compiler.

Say you wanted to conditionally include or exclude blocks of code depending on whether you were compiling a demo or full version of a project. You would have tags in the code to mark what gets compiled under what circumstances. You would then set the value of a constant, or an IDE setting, etc, which would tell the preprocessor what to do with the code between each set of inclusion/exclusion tags.

Another use of a preprocessor is to rewrite customized source code to convert it from code that the compiler doesn't understand, to code that the compiler understands. Say you wanted to use the Blitz3D Bank library to store structured data, but wanted to write the code in a more user friendly fashion than the Bank commands allow. You could write the code in your own little sub-language, and then have the preprocessor convert that sub-language into native Bank commands.


markcw(Posted 2008) [#8]
Ok, I've just updated the bbp.zip again. That should be a final release now.

Toolbox entry.
http://www.blitzbasic.com/toolbox/toolbox.php?tool=230


Zeotrope(Posted 2008) [#9]
Good explanation Bill.....I wasnt sure either.


Nate the Great(Posted 2008) [#10]
thank you bill i understand now :)