tk_cmd ====== X evaluate expression tree in ec_tk_expr - cmd token - example X tk_re cleanup ======= - check XXX in code X remove the _new() functions - add a tk vector type: will be used in several nodes (ex: or, seq, ...) - check allocation model everywhere - checkpatch? - use linux style (update .emacs) - better logs - return values - use errno when returning pointers - missing static / const - license: "s/neither the name...may/the names of its contributors may not/" - check all completion nodes X split ecoli_tk.h - cache results when appropriate? - size_t or unsigned int? X rename: - ec_tk -> ec_node - ec_parsed_tk -> ec_parsed - ec_completed_tk -> ec_completed - tk, gen_tk, token, ... -> node - tokens -> input_str / input_strvec ? - use is_err() for errno in ptrs dependencies ============ - pass the current parsed state when parsing/completing - new node "condition" logs ==== - register log types yaml ==== X register nodes by name - interface to add attributes: all nodes must be configurable through a generic api - attr string - attr string list - attr node - attr node list - attr int - yaml interface to create nodes - example examples ======== - example which parses arguments (argc/argv) - example that acts as bash completion (ip link ?) - calculator example (var assignation, expression evaluation) - example with libedit - mini script language - configuration file doc === - overview - add api doc in .h - generate automatic api doc - architecture - coding rules, process - each node - allocation model - say that it stops at first match (no ambigous support) - say that completion must be exhaustive build framework =============== - .map files for API - split libs, tests and examples - add make help - add make config - -fvisibility= tests ===== - complete automatic tests with "make test" new nodes ========= - regexp - node which always matches - file + partial completion - ether, ip, network - fusion node: need to match several children, same for completion - float encoding ======== - support utf-8 and other encodings - example - documentation netconf example =============== - demonstration example that parses yang file and generate cli