Project Homepage: http://sourceforge.net/projects/frameprocessor
What are frames?
----------------
Frames are program parts
in any programming language
that can be reused.
A frame contains program
code and frame commands (see [Bas96]).
With fp, you can generate
code, even whole applications
(Software Product Lines),
from common parts.
I tried to keep fp as
simple as possible, so that it offers
a minimal set of the
most important/useful features only.
A quick start:
--------------
You can download the
latest version here:
http://sourceforge.net/project/showfiles.php?group_id=55574
.
Windows users without
Python installed should download the zip file,
others must have Python
installed and can download the tar.gz file.
After unpacking, you
can try a helloworld example
by changing to the examples/c
directory.
Under Linux etc. with
Python installed, call
'python ../../fp.py
example1.frame' ,
or 'python ../../fp.py
example2.frame' .
(you can also
perform an fp self-test with
python tests/alltests.py).
Under Windows without
Python, call
..\..\bin\fp example1.frame
,
or ..\..\bin\fp example2.frame.
After each fp call, see
the contents of the file main.c
which was generated
e.g. by calling 'more main.c' .
Have fun!
Reference:
[Bas96] Paul G. Basset,
Framing Software Reuse,
Prentice Hall, 1996