[PR #1616] Add textX #1406

Open
opened 2025-11-06 13:15:36 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/1616
Author: @leolas95
Created: 9/13/2020
Status: 🔄 Open

Base: masterHead: master


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

What is this Python project?

A tool for the definition and construction of domain specific languages in Python, using a PEG parser. It features a meta-language which you can use to specify the definition of your language. Using that, textX can parse programs written in your language, giving you all the syntactical elements for you to manipulate as needed.

What's the difference between this Python project and similar ones?

  1. The syntax of the meta-language is clear and simple.
  2. In contrast to bigger and fully-fledged frameworks like Jetbrains MPS or Eclipse's Xtext (from where textX was inspired), textX is a simple Python library that you can integrate in your project as any other.
  3. You can customize the way the parser will handle elements like whitespaces and case-sensitivity. Registered callbacks can be used for post-processing validation. Grammar files for your language can be split into many files.
  4. It offers an abstraction over the Arpeggio PEG parser.

--

Anyone who agrees with this pull request could submit an Approve review to it.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/1616 **Author:** [@leolas95](https://github.com/leolas95) **Created:** 9/13/2020 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`21ef245`](https://github.com/vinta/awesome-python/commit/21ef245044dcb2e2b6b8a8581f354e1f82c533a7) Add textX ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## What is this Python project? A tool for the definition and construction of domain specific languages in Python, using a PEG parser. It features a meta-language which you can use to specify the definition of your language. Using that, textX can parse programs written in your language, giving you all the syntactical elements for you to manipulate as needed. ## What's the difference between this Python project and similar ones? 1. The syntax of the meta-language is clear and simple. 2. In contrast to bigger and fully-fledged frameworks like Jetbrains MPS or Eclipse's Xtext (from where textX was inspired), textX is a simple Python library that you can integrate in your project as any other. 3. You can customize the way the parser will handle elements like whitespaces and case-sensitivity. Registered callbacks can be used for post-processing validation. Grammar files for your language can be split into many files. 4. It offers an abstraction over the [Arpeggio](https://github.com/textX/Arpeggio) PEG parser. -- Anyone who agrees with this pull request could submit an *Approve* review to it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 13:15:36 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#1406