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
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file CVLDoc-1.0.1.tar.gz
.
File metadata
- Download URL: CVLDoc-1.0.1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f07caa550fb9b9130344f94d37f3c66a432b919dfb4baa7f321c2e7b388e405 |
|
MD5 | 3d19ae2cd3af8610450625ad3e207e73 |
|
BLAKE2b-256 | 74d3c7fe1c4b9e6cdda43060e80c84aaba9aff4becbc430eb74251c429162bb1 |
File details
Details for the file CVLDoc-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: CVLDoc-1.0.1-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 780f24db899fb5ee143386350c5fe538c8b69eb6d4b00e2d8da40363eb27119a |
|
MD5 | 1460042dbddf23e27c14b14eddb42b23 |
|
BLAKE2b-256 | 2c4f2bdcec426402699c137e70212e0304a34f520efe98af67aa36de94bcb6ce |