lang/py-textX 4.3.0_1 MidnightBSD
Meta-language for DSL implementation inspired by Xtext
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
c475656795- License
- mit
- Categories
- lang, python
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% in Python using Arpeggio PEG parser - no grammar ambiguities, unlimited lookahead, interpreter style of work.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | lang/py-textX | 4.3.0_1 |
| FreeBSD | lang/py-textX | 4.4.0 |
| DragonFly | lang/py-textX | 3.1.1_1 |
| HardenedBSD | lang/py-textX | 4.4.0 |
| GhostBSD | lang/py-textX | 4.4.0 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}textx
From mports:
cd /usr/mports/lang/py-textX && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}textx>0:lang/py-textX
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}flit-core>=3.8.0: devel/py-flit-core
Runtime 2
${PYTHON_PKGNAMEPREFIX}arpeggio>=2.0.0: devel/py-arpeggio${PYTHON_PKGNAMEPREFIX}click>=7.0: devel/py-click
Test 2
${PYTHON_PKGNAMEPREFIX}html5lib>0: www/py-html5lib${PYTHON_PKGNAMEPREFIX}memory-profiler>0: devel/py-memory-profiler
Build dependencies 1
Run dependencies 2
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| textx-4.3.0.tar.gz | 2.224357e+06 | 0facac8029ad124ef21e5838dd8eb67f10129efcee96ea3548f5fd62428a9880 |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
c475656795 |
Lucas Holt | Fix test phase handling for run 641 failures Skip Magus test phase for ports that declare tests disabled, teach muon-backed meson ports to use muon test, and make Python test helpers load fake-installed modules. Also fix Python 3.12 default transition issues in py-installer and several custom port test targets.
AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |