Meta-language for DSL implementation inspired by Xtext
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.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Slowroll:Base:1/python-textX && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
python-textX-4.1.0.tar.gz | 0002136599 2.04 MB | |
python-textX.changes | 0000021813 21.3 KB | |
python-textX.spec | 0000003572 3.49 KB |
Latest Revision
Dominique Leuenberger (dimstar_suse)
accepted
request 1219183
from
Dirk Mueller (dirkmueller)
(revision 19)
- update to 4.1.0: * `nchar` attribute to `TextXError` class, which represents the substring length for the model object where the error was found. * `linetype` parameter to PlantUML generator which controls line style. See the tip in the visualization docs * Rendering of multiplicities of association in PlantUML generator. * Meta-model diagram export now raises attributes/references to abstract * meta-classes along the inheritance chain. See [423]. * The Python version limit "<3.13" has been removed from the pyproject.toml file. The library should run on all Python versions starting from 3.8 * Removed vendored `six` library. We don't need 2.x support anymore. Thanks - Added RREL-'fixed name'-extension, allowing to follow model elements [#273]). Also, using base classes for rules from imported grammars in
Comments 0