pyasdl 22.1.23

Creator: codyrutscher

Last updated:

Add to Cart

Description:

pyasdl 22.1.23

PyASDL
A yet another implementation for Zephyr ASDL format.
API
parse(source: str, *, filename: str = "<pyasdl>") -> Module
Parse the given source string, and return the AST in the shape of an pyasdl.Module. The
full format is defined in the grammar.asdl file. The filename
can be optionally supplied, and will be displayed if there is any syntax error.
fetch_comments(source: str) -> Iterator[str]:
Return an iterator of the ASDL comments in the given source string.
is_simple_sum(node: Sum) -> bool:
Check whether if the given node's all children lack any fields.
Examples
Here is a list of example tools that process the given ASDL with PyASDL:

Typing Stub Generator
Python Class Generator
ESDL Generator
GraphQL Converter

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.