summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-07-27T5317: remove mutable referencesJohn Estabrook
Redesign and implement version without mutable refs.
2023-07-27T5316: drop trim functionsJohn Estabrook
2023-07-27T5316: use a single pass of diff function instead of trim functionJohn Estabrook
2023-07-25T5194: filter on files of extension .xmlJohn Estabrook
2023-07-20T5385: catch correct errors in Xml_light Xml.parse_fileJohn Estabrook
2023-05-10T5194: drop keep_order fieldJohn Estabrook
This is not applicable under the current node sorting; drop for now.
2023-05-10T5194: add load and render function for bindingJohn Estabrook
2023-05-10T5194: ignore syntaxVersion elementsJohn Estabrook
syntaxVersion elements are post-processed in the Python reference dict
2023-05-10T5194: override json serialization for node_type variantJohn Estabrook
2023-05-10T5194: add default_valueJohn Estabrook
2023-05-10T5194: add completion_helpJohn Estabrook
2023-05-10T5194: allow for empty element string and child order in valueHelpJohn Estabrook
One needs to handle the pathological cases of an empty element string and arbitrary order of child elements. Neither are prohibited, and the former has a use case (for now).
2023-05-10T5194: add render_jsonJohn Estabrook
2023-05-10T5194: insert_maybe as node names exist in multiple interface-def filesJohn Estabrook
2023-05-10T5194: add priority elementJohn Estabrook
2023-05-10T5194: use empty string as name of root to avoid conflictJohn Estabrook
cf. 4df07f8e for details
2023-05-10T5194: import load_interface_definitions from vyconfJohn Estabrook
2023-05-10T5194: remove unused variables and flagJohn Estabrook
2023-05-10T5194: add util functions for reference treeJohn Estabrook
2023-05-10T5194: update dependenciesJohn Estabrook
2023-05-10T5194: import reference_tree from vyconfJohn Estabrook
2023-04-26T5185: drop assumption in case of a sequence of 0'sJohn Estabrook
In the original implementation, it was mistakenly assumed that strings of digits of differing lengths would not have equal value, but strings of 0's are a counterexample.
2023-03-23T5089: add optional arg to order values on render_configJohn Estabrook
For unit tests of identity: tree = union of subtrees, one needs a consistent ordering of values. Add an optional argument to order values in render_config.
2023-03-23T5089: order nodes on configtree parsing from stringJohn Estabrook
This is a conservative application of lexical_numeric ordering for configtree: order nodes on instantiation in 'from_string'
2023-03-23T5089: add tree_union for use in unit test.John Estabrook
2023-03-23T4235: drop unneeded graft functionJohn Estabrook
This was a general use function that is uneeded in this simple case.
2023-03-23T5087: clone with lexical insertion of nodes and ordering of valuesJohn Estabrook
2023-03-23T5087: add optional arg for lexical insertion of nodesJohn Estabrook
2023-03-14T5088: add dune support for lexical_numeric_compareJohn Estabrook
2023-03-14T5088: add lexical_numeric_compare functionJohn Estabrook
2023-02-10T4991: add function show_diff for unified diff of configsJohn Estabrook
2023-01-27T4961: add name of offending node in exception Insert_error of stringJohn Estabrook
2022-09-01Revert "Merge pull request #11 from jestabro/tag-node-name-whitespace"John Estabrook
This reverts commit 97d11bf2bda65c7001ad687fd088a896161fdb0d, reversing changes made to 40f7d2af65a2358bb37661121f1752abf4f099fc.
2022-08-19T4628: render tag node names containing whitespace in quotesJohn Estabrook
2022-06-28T4491: use empty string for name of config_tree root nodeJohn Estabrook
The practice of using "root" for the internal name of the root node collides with actual nodes named "root", due to a utility function that checks 'if root' by name. Use empty string as name of root node, as no actual node will match.
2022-04-27T4235: add comments on producing delete commandsJohn Estabrook
2022-04-21T4334: make the lexer reentrant by passing state aroundDaniil Baturin
instead of using a shared mutable reference
2022-02-28T4235: add function 'trim_tree' to produce tree for delete commandsJohn Estabrook
2022-02-25T4235: change type/variable names for clarity; add is_empty for listJohn Estabrook
2022-02-25T4235: keep full paths in subtract treeJohn Estabrook
In the intial implementation, the delete tree only kept the first node of a path not present in the RHS of the comparison; this was done as a convenience for generating 'trimmed' delete commands for the CLI. However, this loses needed information, and breaks the symmetry of results: LHS, RHS -> del, inter, add RHS, LHS -> add, inter, del Keep full paths in delete tree and rename trees.del to trees.sub(-tract). A separate function 'trim_tree' will be provided to produce a CLI-appopriate delete tree and commands.
2022-02-23T4235: add utility function get_subtreeJohn Estabrook
2022-02-23T4235: function diff_tree now returns single tree containing diffsJohn Estabrook
2022-02-08configtree: T4235: render delete commandsJohn Estabrook
2022-02-08configtree: T4235: implementation of config tree diffJohn Estabrook
2022-01-04Use a modification of String.escaped to leave UTF-8 bytes unescapedJohn Estabrook
2019-10-27Expose the JSON AST export function.Daniil Baturin
2019-10-27Add a "simple" JSON renderer.Daniil Baturin
2019-06-30Change syntax error wording.Daniil Baturin
2019-06-30T1479: switch to Menhir's incremental API and add support for reporting ↵Daniil Baturin
error line numbers.
2019-06-30T1478: Improved lexing error reporting, including proper support for single ↵Daniil Baturin
quoted strings.