Skip to main content

DOTS code generator

Project description

dots-code-generator

Usage

Add path with config_txt.py and path to "dots" python module to PYTHONPATH.

Call dcg.py: cd examples mkdir -p out ../bin/dcg.py -T templates -C config_txt -o out some_types.dots -v

Generated files will be places in directory "out".

Update DOTS grammar

DOTS grammer is defined in "dots.lark". If the grammar is updated, a new parser has to be generated with the "lark" python module:

python -m lark.tools.standalone dots.lark > dots/dots_parser.py

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

dots-code-generator-0.1.0.tar.gz (48.4 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