Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BPP Q&A
#1
Ok, Agamemnus asked me a couple questions about BPP (BASIC Pre-Parser). Instead of answering those questions (;P) I'll just explain what BPP is/does and that should in itself answer most questions.

Q1. What is BPP?
A1. BPP is a pre-parser.

Q2. What is a pre-parser?
A2. A pre-parser is a program which reads the source of a program and does certain tasks based on the meta-statements defined in it. These tasks range from telling how to compile to what to compile or even adding macros (not yet implemented).

Q3. Sounds interesting, why would I use it?
A3. Say you have a large program written in several languages and made up of several libraries/object modules scattered across several harddrives or even a network. BPP takes your source and from the meta-statements there-in, it compiles all of the source code, links it and generates the logs/etc based on it. This means you only have to type one simple statement at the command prompt and the pre-parser does all the work.

Q4. Ok, can you give me an example?
A4. Well, download bpp.rar from http://uregina.ca/~cowles1e/bpp/ and look at the bpp.bas source module. When I wrote bpp, I first compiled it manually with no special switches. Once I had that, I then ran BPP.BAS through the first compiled version to take advantage of everything that would be useful to that project. When I first compiled it I did not exclude COM port communications or similar such things. I was only interested in getting it to the point of running so I would let it do the work of setting the switches for the compiler and linker as well as remove unneeded modules.

If you have any other questions that are not covered here (I'm sure there will be lots) or that is not explained sufficiently in bpp.txt on the website, then ask away.

httyp://uregina.ca/~cowles1e/bpp/
Life is like a box of chocolates', hrm, WTF, no it isn't, more like, 'life is like a steaming pile of horse crap.'
Reply


Messages In This Thread
BPP Q&A - by 1000101 - 10-19-2003, 08:54 AM
BPP Q&A - by Plasma - 10-19-2003, 09:21 AM
BPP Q&A - by 1000101 - 10-19-2003, 09:31 AM
BPP Q&A - by toonski84 - 10-19-2003, 09:40 AM
BPP Q&A - by Plasma - 10-19-2003, 09:48 AM
BPP Q&A - by Agamemnus - 10-19-2003, 06:20 PM
BPP Q&A - by 1000101 - 10-19-2003, 09:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)