Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A awesome-python
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 317
    • Merge requests 317
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Vinta Chen
  • awesome-python
  • Merge requests
  • !1616

Add textX

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Administrator requested to merge github/fork/leolas95/master into master Sep 13, 2020
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: leolas95

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.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/leolas95/master