-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathtemplateclass.README
More file actions
29 lines (22 loc) · 973 Bytes
/
templateclass.README
File metadata and controls
29 lines (22 loc) · 973 Bytes
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
How to add a new public class to AST:
1) Make copies of the three files templateclass.c templateclass.h and
ftemplateclass.c, replacing "templateclass" in the file name by the
lower case name of the new class.
2) Edit each of the files created above and do the following:
- Replace TemplateClass with capitalised class name
- Replace templateclass with lower case class name
- Replace TEMPLATECLASS with upper case class name
- Replace TemplateParent with capitalised parent class name
- Replace templateparent with lower case parent class name
- Replace all occurrences of >>> with suitable text
- Add all the classes new functionality
3) Add the three new files to CVS
4) Edit the following files to include reference to the new class
- ast_par.source
- builddocs.in
- loader.c
- Makefile.am
- sun_master.tex
- ast.news
5) Add a test program to the ast_tester script in the ast_tester directory
6) Commit all changes to CVS.