We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A Lark backend allows us to have a well defined grammar for parsing docstrings and extracting doctests.
It might not be faster than the current whatever-i-did-to-get-it-working approach. But mine may have edge cases that a proper grammar would not.
Something like:
start? docstring doctest: indented(python, '>>>') example_item: doctest example_items: list(example_item) args: "Args: " indented(args_items) example: "Example: " indented(example_items) ignore: "Ignore: " indented(text) dockblock: args | example | ignore | benchmark | misc docstring: text | docblock
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A Lark backend allows us to have a well defined grammar for parsing docstrings and extracting doctests.
It might not be faster than the current whatever-i-did-to-get-it-working approach. But mine may have edge cases that a proper grammar would not.
Something like:
The text was updated successfully, but these errors were encountered: