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
fix_tests_setupcfg.patch 0000001016 1016 Bytes
python-textX-2.2.0.tar.gz 0001800507 1.72 MB
python-textX.changes 0000014304 14 KB
python-textX.spec 0000004451 4.35 KB
Revision 12 (latest revision is 18)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 825373 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 12)
- update to version 2.2.0:
 - Added:
  - Initial docs for Jinja code generator support (from
    [textX-jinja](https://github.com/textX/textX-jinja)) ([#264]).
  - Analyzing grammars programmatically as plain textX models
    (`grammar_model_from_str/file`) ([#235])
  - Initial `startproject` scaffolding (from
    [textX-dev](https://github.com/textX/textX-dev)) docs ([#234])
  - Generator helper functions `get_output_filename` and `gen_file` ([#233])
  - `textx version` command ([#219])
  - Versions for languages/packages in `list-languages` and `list-generators`
    commands ([#228])
  - Added the ability to specify extra parameters during `model_from_file` or
    `model_from_str` and to define which extra parameters exist in the
    meta-model ([#243]).
 - Fixed:
  - Fixed several instances of invalid truthiness checking. Thanks
    markusschmaus@GitHub ([#250])
  - Fixed applying multiple grammar rule modifiers ([#246])
  - Fixed exception on calling `check` CLI command with relative path name.
  - Fixed return value of textx generate and check commands: we return a failure
    on error now ([#222])
  - Fixed type checking for references to builtin elements ([#218])
 - Changed:
  - User classes can now be immutable (e.g. `attr.frozen`) or can use
    `__slots__`. Thanks markusschmaus@GitHub ([#256, #260, #261])
  - Cleanup of setup configuration and install scripts [#231]
  - Dot/PlantUML rendering of meta-models: remove rendering of base types,
    improve rendering of required/optional, render match rules as a single
    table. ([#225])
Comments 0
openSUSE Build Service is sponsored by