You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
timotheecour
changed the title
need a way to expose NimNode comments for user macros for tooling
expose API to get NimNode doc comments, for tooling
Sep 11, 2018
example use cases:
docstring"""foobar"""
to expose them for his library:(see also jboy/nim-docstrings#1)
would allow this: option to dispatch from object's fields => leads to better API's and more DRY code option to dispatch from object's fields => leads to better API's and more DRY code c-blake/cligen#30
which would enable the excellent project
cligen
from @c-blake to reuse documentation comments on object fields to auto generate help docwould allow for example
nim --hints:list
to show the doc comments for each hintwould allow allow replacing this kind of PR https://github.com/nim-lang/Nim/pull/8625/files (Adds documentation for hints), (which is not DRY, and out of sync), with automatically generated doc comments.
EDIT
I have a PR that allows all the above, see #8903
The text was updated successfully, but these errors were encountered: