BSD Ports

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

SystemPortVersion
MidnightBSDlang/py-textX4.3.0_1
FreeBSDlang/py-textX4.4.0
DragonFlylang/py-textX3.1.1_1
HardenedBSDlang/py-textX4.4.0
GhostBSDlang/py-textX4.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

Runtime 2

Test 2

Build dependencies 1
Run dependencies 2
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
textx-4.3.0.tar.gz2.224357e+060facac8029ad124ef21e5838dd8eb67f10129efcee96ea3548f5fd62428a9880
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog 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]>