About Semantier Generator.py3
Generate c++ peer of semantic-*.
To run tests/ast/cp bash script, change $SRCDIR to Anclient.cmake/tests/ast:
pip install semantier_generator
cd tests/ast
./cp
python -m semantier_gen settings/gen...josn, ast
Constructor Semantics
- C++ 20 examples (semantier-generator 0.0.7)
Example: Heartbeat.ast.json
"dataAnclass": "io.odysz.semantic.jsession.HeartBeat", class HeartBeat : public anson::AnsonBody {
"baseAnclass": "io.odysz.semantic.jprotocol.AnsonBody",
HeartBeat(
base": {"stype": "()", => AnsonBody(Port::heartbeat),
"args": ["AnsonBody", "Port::heartbeat"]},
"args": [{"stype": "", "args": ["string", "clienturi"]}, => string clienturi, ...
{"stype": "ini", => string ssid, ... ssid(ssid)
"args": ["string", "ssid", "ssid"]},
"body": [{"stype": "=", "args": ["uri", "clienturi"]}] => uri = clienturi;
Example: docsreq.ast.json
For "()" semantics, user must implement function body of generated decleration, e. g. format() in the follow example.
"body": {"stype": "()", "args": ["format", "p"]} }, => void format(const IFileDescriptor& p); # <---
# DocsReq() :
# UserReq() {
# Type(_type_);
format(p); # <---
# }
Metadata
Release files for semantier-generator 0.0.8
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 |
|---|---|---|---|---|
| semantier_generator-0.0.8.tar.gz | 8.4 kB | Without provenance | Details for semantier_generator-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| semantier_generator-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for semantier_generator-0.0.8-py3-none-any.whl |
Total release size: 19.1 kB
Release files / semantier_generator-0.0.8.tar.gz
| Download URL | semantier_generator-0.0.8.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35dc99bb35c831404f1a66ea093e3f8ecb501393c45cb83a7e84cc5f10d31eb9
|
|
BLAKE2b-256 checksum How to use checksums |
9ee1f642d05a29e061caea8787b9d94f7c9a68f74650f664065cb5b00cf3a5a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.1
|
Release files / semantier_generator-0.0.8-py3-none-any.whl
| Download URL | semantier_generator-0.0.8-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0eac45b88448118bf8c686baca2af2105d846cb43ecd3123f39f96877771e7db
|
|
BLAKE2b-256 checksum How to use checksums |
b94d6daf79f51dc1ee8cd2700b826eedb08ce3779032ff80ac4bc8c025fbb7e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.1
|
Security for semantier-generator 0.0.8
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.