14
0
forked from pool/python-textX
Commit Graph

5 Commits

Author SHA256 Message Date
Sebastian Wagner
b0c962254e Accepting request 651138 from home:bmwiedemann:branches:devel:languages:python
drop indeterministic unnecessary .dot files to make package build reproducible (boo#1114571)

OBS-URL: https://build.opensuse.org/request/show/651138
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=8
2018-11-22 20:27:39 +00:00
Sebastian Wagner
aadbacf0ff - update to version 1.7.0:
- A major feature of this release is multi-(meta-)model support with
    configurable resolving techniques. Thanks Pierre Bayerl (goto40@GitHub)!
    The docs sections are [here](http://www.igordejanovic.net/textX/scoping/)
    and [here](http://www.igordejanovic.net/textX/multimetamodel/).
    Details follow:
    - added new function textx.get_model.children to search arbritrary children
      using a lambda predicate.
    - remapped textx.model.get_children_of_type to the new children function
    (changed the logic, such that the root node is also checked to be model
    object).
    - added new metamodel function to register scope providers. Scope providers
    are callables, which return the referenced object.
    - added optional attribute "_tx_model_repository", see metamodel.py
      documentation
    - added attribute "scope_provider" like "obj_processors" to organize scope
      providers
    - added an optional argument to model_from_str and model_from_file:
      "pre_ref_resolution_callback": this is required internally to prepare the
      loading of other model files.
    - changed reference resolution in model.py
      - moved default resolution to textx.scoping.py
      - select the scope provider based on rule and rule-attribute (see
        scoping.py documentation)
      - added a Postponed type to postpone the resolution
      - introduced a multi-pass resolution (implemented at the end of
        parse_tree_to_objgraph; introduced new helper argument, e.g., a new
        optional argument "is_this_the_main_model" and
        "pre_ref_resolution_callback" (see metamodel.py above) to support
        reference resolution in the presence of different model files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=6
2018-07-07 09:18:41 +00:00
Sebastian Wagner
f9f60a148f Accepting request 577862 from home:jengelh:branches:devel:languages:python
- Compact description

OBS-URL: https://build.opensuse.org/request/show/577862
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=3
2018-02-18 20:59:15 +00:00
Sebastian Wagner
43dd2638d8 - update to version 1.6.1. No notable changes.
- update to version 1.6.0. Shortened changelog:
 *  Introduced _tx_fqn class attribute.
 * textX api functions and classes are now available directly from textx module.
 * bugfixes
- update to version 1.5.2. Bugfixes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=2
2018-01-31 14:25:41 +00:00
Jan Matejek
4ff19f1e82 Accepting request 519127 from home:sebix:branches:devel:languages:python
- initial package

OBS-URL: https://build.opensuse.org/request/show/519127
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=1
2017-08-28 14:55:37 +00:00