CodeDocAnnotator

Generate markup documentation annotations

LLMResourceFunction["CodeDocAnnotator"][lang,code]

generates documentation for the code of the programming language lang.

LLMResourceFunction["CodeDocAnnotator"][lang]

gives a generic prompt for documentation generation for lang.

Details

For Wolfram Language the function prompt generates usage information and syntax information code.
Here is a list of the programming languages known by the prompt:
C, C#, C++, Clojure, D, Elixir, F#, Fortran, Go, Haskell, Java, JavaScript, Kotlin, Mathematica, OCaml, Perl, PHP, Python, R, Raku, Ruby, Rust, Scala, Swift, TypeScript, VB.NET, WL, Wolfram Language

Programmatic Examples

Prompt Source

See Also

Publisher Information