Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add textX #1616

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add textX #1616

wants to merge 1 commit into from

Conversation

leolas95
Copy link

@leolas95 leolas95 commented Sep 13, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants