Skip to main content

Utility for reading CERTORA spec files, parse and export their NatSpec comments to JSON files.

Project description

CVLDoc

parse NatSpec comments from a spec file(s) and save them in a JSON file.

usage

CVLDoc.exe [-h] [-v] [-dev] [-user] [--version] input_file [input_file ...]

argument: input_file - the input spec file to analyze, there can be more than one

options:

-h, --help - display help message and exit. -v, --verbosity - increase output verbosity --version - show program version and exit

The tool invoke the netspec parser and will generate a JSON file that contains all the

Testing

In order to test the JSON generator run simply: python natspec_tests.py This will run a series of spec file as input and compare the resulted json with the expected json result. Any differences will be reported to the standard outputs.

Notes

  1. Every input file will generate a JSON file, with the same name, at the same folder, different extension. 2. If the parser or the conversion process will encounter one or more problems, the error messages will be displayed on the standard output 3. Not all NatSpec tags and required error messages are supported in this version.

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

CVLDoc-1.0.1.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

CVLDoc-1.0.1-py3-none-any.whl (11.5 kB view hashes)

Uploaded Python 3

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