lang/py-textX 4.4.0
Meta-language for DSL implementation inspired by Xtext
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
47dea4d8ce- License
- MIT
- Categories
- lang, python
- Package size
- 145.4 KiB, 776.6 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% in Python using Arpeggio PEG parser - no grammar ambiguities, unlimited lookahead, interpreter style of work.
Install
As a binary package — by origin, or by package name:
pkg install lang/py-textX
pkg install py312-textx
From the ports tree:
cd /usr/ports/lang/py-textX/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-textx>0:lang/py-textX
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.4.0 | 4.4.0 | 2.3.0 | 3.1.1_1 | 4.4.0 |
| FreeBSD:14:quarterly | 4.4.0 | 4.4.0 | n/a | 3.1.1_1 | 4.4.0 |
| FreeBSD:15:latest | 4.4.0 | 4.4.0 | n/a | 3.1.1_1 | 3.1.1_1 |
| FreeBSD:15:quarterly | 4.4.0 | 4.4.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.4.0 | 4.4.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
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
The full lists below include those, and their dependencies in turn.
All build dependencies 15
All run dependencies 9
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| textx-4.4.0.tar.gz | 63347 | a7b15a4698b503edde631d5227c0d0f6024898a86a7924b5fc741973305f9286 |
Master sites 1
- PYPI