Meta-language for DSL implementation inspired by Xtext

Edit Package python-textX
https://github.com/igordejanovic/textX

textX is a meta-language for building Domain-Specific Languages (DSLs) in Python.
It is inspired by Xtext.

In a nutshell, textX will help you build your textual language in an easy way.
You can invent your own language or build a support for already existing
textual language or file format.

From a single language description (grammar), textX will build a
parser and a meta-model (a.k.a. abstract syntax) for the language.
See the docs for the details.

textX follows the syntax and semantics of Xtext but differs in some places
and is implemented 100% in Python using Arpeggio PEG parser - no grammar
ambiguities, unlimited lookahead, interpreter style of work.

Refresh
Refresh
Source Files
Filename Size Changed
python-textX-2.0.1.tar.gz 0001821512 1.74 MB
python-textX.changes 0000010948 10.7 KB
python-textX.spec 0000003917 3.83 KB
Revision 7 (latest revision is 18)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 708274 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 7)
- Fix the tests

- Make sure the package actually again gets to the test phase
  * the tests are actually failing now

- update to version 2.0.1:
 - Added:
  - [Registration and discovery] of languages and generators ([#187])
  - New textx CLI commands for listing generators and languages
    (`list-generators`, `list-languages`) and calling a generator (`generate`) ([#187])
  - Meta-models may now [reference other registered meta-models] using the
    `reference` statement ([#187])
  - Adding examples and documentation related to scope providers (related to
    model modification through scope providers) ([#168])
  - metamodel export feature for [PlantUML] ([#165])
  - `textx_isinstance` from `textx.scoping.tools` made available in `textx`
    ([#164], [#157])
  - CLI extensibility ([#162], [#161])
  - An initial version of FAQ page ([#138]). Thanks Aluriak@GitHub
  - A version of `calc.py` exercises usage of
    `text.scoping.tools.textx_isinstance()` to inspect model objects types
    during traversal. ([#136], [#123]). Thanks dkrikun@GitHub
  - A version of `calc.py` in expression example that exercises dynamically adding
    properties to object classes ([#126]). Thanks dkrikun@GitHub
  - python like imports (named import rules, scope providers affected) ([#114])
  - Added `STRICTFLOAT` as buildin type to allow to distinguish ints from floats
    in `NUMBER`. Fixed docu link ([#98]). Possible **(BIC)**
  - Added [flake8] and [coverage] checking ([#92])
 - Changed:
  - All textX commands implemented using textX CLI extensibility. `check`
Comments 0
openSUSE Build Service is sponsored by