Development
Setup
The Pytch compiler is currently written in Python 3.7.
To install the development environment, run
$ poetry install
Running
To launch the REPL:
$ poetry run pytch repl
To execute a file as a Pytch script:
$ poetry run pytch run file.pytch
Updating the syntax trees
To modify the syntax tree node types, update pytch/syntax_tree.txt, then run:
$ ./bin/generate_syntax_trees.sh
Fuzzing the parser
To run the fuzzer on the Pytch parser, first be sure that the AFL
fuzzer is installed (e.g. with brew install afl-fuzz). Next,
install the fuzzing dependencies:
$ poetry install --extras fuzz
Then you can run:
$ ./bin/fuzz.sh
Metadata
Release files for pytch 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytch-0.0.1.tar.gz | 41.7 kB | Without provenance | Details for pytch-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytch-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for pytch-0.0.1-py3-none-any.whl |
Total release size: 236.6 kB
Release files / pytch-0.0.1.tar.gz
| Download URL | pytch-0.0.1.tar.gz |
|---|---|
| Size | 41.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b0e829f251f2299b88f7d967afa5e643c921d7fc587339e88e7352ebeb2f2d0
|
|
BLAKE2b-256 checksum How to use checksums |
1b89c996eda217c944b5b86973c6c96cda5a9da7097a0f8301b45c7eeef93e53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/2.7.15
|
Release files / pytch-0.0.1-py3-none-any.whl
| Download URL | pytch-0.0.1-py3-none-any.whl |
|---|---|
| Size | 194.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a2efe81c0400fdbdeed2c736cadabf1c9032b697d0b1624ec5eb16b7019329a
|
|
BLAKE2b-256 checksum How to use checksums |
cda51df349be29890532721c3a6219137e1fc2dd2445dc8bfa4ea9254b87d8ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/2.7.15
|
Security for pytch 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.