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:Factory:RISCV/python-textX && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
python-textX-4.0.1.tar.gz | 0001824450 1.74 MB | |
python-textX.changes | 0000021046 20.6 KB | |
python-textX.spec | 0000003572 3.49 KB |
Latest Revision
Ana Guerrero (anag+factory)
accepted
request 1165411
from
Steve Kowalik (StevenK)
(revision 18)
- Update to 4.0.1: * Use flit-core for test projects. * Removed word boundary from INT rule regex. * Removed Python support for 3.6 and 3.7. The minimal supported version is 3.8. * Migrated to pyproject.toml for project configuration. * Migrated to importlib for language/generator registration/discovery as setuptools pkg_resources is deprecated and unsupported from Python 3.12. * Added dependency to `importlib-metadata` backward compatibility package for Python versions < 3.10. * Relaxed dependency for click to accept 8.x. * Use flit for package building and publishing. - Use build and installer for the test projects so we do not pollute the build root.
Comments 0