Skip to main content

Python Domain Specific Language Tools

Project description

DESCRIPTION

pydsl is a language library written in python. It provides high level functions for Grammars/Alphabets, hiding the complexity of parsers and similar tools

INSTALLATION

  • disttools: * python3 setup.py install

  • pip: * pip install pydsl

USAGE

Simple check session:

from pydsl.Memory.File.BNF import load_bnf_file from pydsl.Checker import check grammardefinition = loand_bnf_file(‘myfile.bnf’) check(grammardefinition,’mystring’) # returns True or False

REQUIREMENTS

ABOUT

pydsl is a language library written in python Copyright (C) 2008-2013 Nestor Arocha (nesaro@gmail.com)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydsl-0.3.0.tar.gz (37.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page