save
[protos/libecoli.git] / lib / todo.txt
1 tk_cmd
2 ======
3
4 X evaluate expression tree in ec_tk_expr
5 - cmd token
6 - example
7 X tk_re
8
9 cleanup
10 =======
11
12 - check XXX in code
13 X remove the _new() functions
14 - add a tk vector type: will be used in several nodes (ex: or, seq, ...)
15 - check allocation model everywhere
16 - checkpatch?
17 - use linux style (update .emacs)
18 - better logs
19 - return values
20 - use errno when returning pointers
21 - missing static / const
22 - license: "s/neither the name...may/the names of its contributors may not/"
23 - check all completion nodes
24 - split ecoli_tk.h
25 - cache results when appropriate?
26 - size_t or unsigned int?
27 X rename:
28   - ec_tk -> ec_node
29   - ec_parsed_tk -> ec_parsed
30   - ec_completed_tk -> ec_completed
31   - tk, gen_tk, token, ... -> node
32   - tokens -> input_str / input_strvec ?
33
34 dependencies
35 ============
36
37 - pass the current parsed state when parsing/completing
38
39 logs
40 ====
41
42 - register log types
43
44 yaml
45 ====
46
47 X register nodes by name
48 - interface to add attributes: all nodes must be configurable through a
49   generic api
50 - yaml interface to create nodes
51 - example
52
53 examples
54 ========
55
56 - example which parses arguments (argc/argv)
57 - example that acts as bash completion (ip link ?)
58 - calculator example (var assignation, expression evaluation)
59 - example with libedit
60 - mini script language
61 - configuration file
62
63 doc
64 ===
65
66 - overview
67 - add api doc in .h
68 - generate automatic api doc
69 - architecture
70 - coding rules, process
71 - each node
72 - allocation model
73 - say that it stops at first match (no ambigous support)
74
75 build framework
76 ===============
77
78 - .map files for API
79 - split libs, tests and examples
80 - add make help
81 - add make config
82 - -fvisibility=
83
84 tests
85 =====
86
87 - complete automatic tests with "make test"
88
89 new nodes
90 =========
91
92 - regexp
93 - node which always matches
94 - file + partial completion
95 - ether, ip, network
96 - fusion node: need to match several children, same for completion
97 - float
98
99 encoding
100 ========
101
102 - support utf-8 and other encodings
103 - example
104 - documentation
105
106 netconf example
107 ===============
108
109 - demonstration example that parses yang file and generate cli