-
Notifications
You must be signed in to change notification settings - Fork 3
/
ReadMe.txt
executable file
·75 lines (53 loc) · 2.25 KB
/
ReadMe.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
CPIP is a C/C++ Preprocessor implemented in Python.
Copyright (C) 2008-2022 Paul Ross
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Paul Ross: [email protected]
CPIP - A 'C' Preprocessor Implemented in Python
Beta Release 2014-09-04
=======================
Fairly thorough refactor. CPIP now tested on Python 2.7, 3.3. Version 0.9.1. Updated documentation.
Alpha Release 2012-03-25
========================
Very little functional change. CPIP now tested on Python 2.6, 2.7, 3.2. Added loads of documentation.
Alpha Release 2011-07-14
========================
This is a pre-release of CPIP. It is tested on BSD/Linux, it will probably work on Windows (although some unit tests will fail on that platform).
Requirements
------------
Python 2.6 or better, this will not (yet) work on Python 3. No special libraries are required.
Installation
------------
Expand this archive to <install_dir>
Set your PYTHONPATH to: <install_dir>/rel/alpha_00/src/cpip
Testing the Installation
------------------------
Navigate a command line to: <install dir>/rel/alpha_00/src/cpip
And type python CPIPMain.py
If you have got it right then you should see the CPIPMain help information.
Running Unit Tests
------------------
Navigate a command line to: <install dir>/rel/alpha_00/src/cpip/core
Execute: python test/UnitTests.py
(Known issues with Windows paths).
In this release
===============
demo/
-----
Some demo code in 'C', some code in Python that uses the PpLexer to process that and in output/ the
result of processing the demo 'C' code with CPIPMain.py.
doc/
----
Some documentation and tutorials, fairly limited at the moment.
src/
----
Source code of CPIP.