lang/py-textX 3.1.1_1 DragonFly
Meta-language for DSL implementation inspired by Xtext
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- lang, python
- Package size
- 133.2 KiB, 840.0 KiB installed
Description
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%25 in Python using Arpeggio PEG parser - no grammar ambiguities, unlimited lookahead, interpreter style of work.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | lang/py-textX | 3.1.1_1 |
| FreeBSD | lang/py-textX | 4.4.0 |
| MidnightBSD | lang/py-textX | 4.3.0_1 |
| HardenedBSD | lang/py-textX | 4.4.0 |
| GhostBSD | lang/py-textX | 4.4.0 |
Install
Binary package:
pkg install py311-textX
From DPorts:
cd /usr/dports/lang/py-textX && make install clean