|
Post by SunBurnt on Aug 22, 2013 6:06:09 GMT 1
New Bacon DEPEND command, it endlessly adds SUBs and FUNCTIONs to the main Bacon code in a continuous list. As in the test example, some SUBs are called several times, but bpp only copies one to the main Bacon code. In the Zip file is bpp.bac ( Bacon PreProcessor ). Compile it. The other files are a test example for it. To process the test example: bpp -n (/path/)test.bac For help type: bpp -h I made a config. file setup for it. The Help explains this. I may change the hug.bac path from the config. file to: /usr/share/BaCon/hug.bac The INCLUDE "hug.bac" and INIT lines are automatically written. This is needed as SUBs and FUNCTIONs may have HUG widgets in them. There`s still commented chunks of code and test lines in it. I`ve experimented with this and can`t get it quite how I want it. But it seems to be working, so here it is... bpp+test.zip (4.79 KB) .
|
|