| 1 |
Alan Ward 10/11/2000: |
| 2 |
These files originally came from the Internet. Daniel Stenberg created a C preprocessor for his |
| 3 |
FrexxEd program, called cpp. These original files are in cpp-1.5.tar.gz. See these URLs: |
| 4 |
|
| 5 |
http://daniel.haxx.se/ |
| 6 |
http://www.contactor.se/~dast/stuff/ |
| 7 |
http://www.contactor.se/~dast/source.html |
| 8 |
|
| 9 |
The above source.html site says, "Sources written by me, Daniel Stenberg, alone or together with |
| 10 |
others. They're all written in C. Use whatever you want, but telling me you're using my stuff |
| 11 |
would be greatly appriciated!" |
| 12 |
|
| 13 |
Stephen McConnel modifed cpp to properly handle GDL syntax. The files which he modified are: |
| 14 |
cpp1.c-orig |
| 15 |
cpp2.c-orig |
| 16 |
cpp3.c-orig |
| 17 |
cpp6.c-orig |
| 18 |
cppdef.h-orig |
| 19 |
usecpp.c-orig |
| 20 |
|
| 21 |
After you compile GDLPP.exe, put it somewhere on your path. GrCompiler.exe uses it as part of the |
| 22 |
compilation process. |
| 23 |
|
| 24 |
Alan Ward 10/13/2000: |
| 25 |
I notified the author on 10/12/2000 (see below). The file CppDoc.pdf contains documentation for |
| 26 |
the original program. See below for the main change we made to it. |
| 27 |
|
| 28 |
I found an undocumented feature in the source code. An environment variable CPP_PREFS is examined |
| 29 |
to set command line switches. I changed this to GDLPP_PREFS. The installer can use it to set the |
| 30 |
-I switch to specify where the stddef.gdh file is located. |
| 31 |
|
| 32 |
***** |
| 33 |
from: Alan Ward |
| 34 |
to: [email protected] |
| 35 |
date: 10/12/2000 |
| 36 |
subj: Re: Use of FrexxEd cpp program |
| 37 |
|
| 38 |
AW> I am trying to contact the Daniel Stenberg who wrote FrexxEd. Are you the right one? |
| 39 |
|
| 40 |
DS> That's me! |
| 41 |
|
| 42 |
Great! On your website (http://www.contactor.se/~dast/source.html) you say, "Use whatever you |
| 43 |
want, but telling me you're using my stuff would be greatly appriciated!" It would be helpful if |
| 44 |
your e-mail address was there. :-) |
| 45 |
|
| 46 |
AW> We simply want to inform him we are using the cpp program he wrote (with some slight |
| 47 |
modifications), as he asked. |
| 48 |
|
| 49 |
DS> Any modifications I would be interested in? |
| 50 |
|
| 51 |
We are developing a software component for rendering writing systems around the world. It is |
| 52 |
somewhat like Apple's TrueType GX technology (and a little like OpenType and Uniscribe) but more |
| 53 |
elaborate. We have a web page (http://www.sil.org/computing/graphite) describing the system. Part |
| 54 |
of the system is a higher level language for describing writing system behaviors. We needed |
| 55 |
something like the C preprocessor to handle macro definitions and include files. Our problem is |
| 56 |
that we use the '.' character in a way that conflicts with C. The standard C preprocessor thought |
| 57 |
we were using floating point numbers when we weren't (since we don't have floating point numbers |
| 58 |
in our language). We altered your cpp code to handle our syntax. Since this is very specific to |
| 59 |
our language, I don't think anybody would really be interested in our changes - it's basically a C |
| 60 |
preprocessor with floating point support eliminated. |
| 61 |
|
| 62 |
> Thanks for letting me know. |
| 63 |
|
| 64 |
Thank you for making your code available. |
| 65 |
|
| 66 |
Alan Ward |
| 67 |
|
| 68 |
In 2002 the files were rereleased under the MIT license. There were no changes apart from adding |
| 69 |
the license so I merged the files in. The original source is now in fcpp-1.5.1.tar.gz |
| 70 |
Downloaded from http://daniel.haxx.se/projects/fcpp/ |
| 71 |
|
| 72 |
Daniel Glassey |