-
Notifications
You must be signed in to change notification settings - Fork 3
/
TODO
71 lines (42 loc) · 1.65 KB
/
TODO
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
GNU Cobol TODO -*- outline -*-
1 Pending requests
1.1 Handling of EBCDIC files
1.2 Listing file
(2004-02-13: BUG: "COPY REPLACING ..." and REQUEST for "mini-listing")
1.3 Partial expression in the EVALUATE statement
(2004-02-19: feature request: EVALUATE: partial-expression)
1.4 READ ... PREVIOUS
1.5 many bugs reported recently
1.6 splitkey support
2 Other features to be implemented
2.2 SCREEN SECTION
COBOL 2002 has defined extended ACCEPT/DISPLAY.
We can do this eventually.
2.3 Embedded SQL
Frank Polscheit posted his implementation of SQL preprocessor.
(2004-02-17: SQL pre-processor for OPEN-COBOL)
Firebird (firebird.sourceforge.net) has a SQL preprocessor
for their database.
2.4 New backends for INDEXED files
- Look at C-ISAM replacements
3 Improvement of compiler internals
3.1 Error checking
3.1.1 Type checking with each statement
Most statements do not check the type of thier parameters.
We should do it at the beginning of each cb_emit_* functions.
3.1.2 Strict error checking depending on the standard
Partially implemented
3.1.3 Use `error' token in the parser for better error recovery
4 Optimization
4.1 More inlining of run-time functions
Done with various binary operands
5 Debugging support
5.1 Data access method
We should generate all data hierarchy defined in a COBOL program
with all relevant information, including data names, picture clauses,
and source locations. We should also define a debugging function
that receives a data name and displays its value using the generated
data hierarchy. By calling the function from gdb, we can easily
access the COBOL data at debugging time.
6 Better user manual
Yes, we should