from Hacker News

Contextualized programming language documentation (2022) [pdf]

by hazelnut-tree on 7/18/23, 8:43 PM with 1 comments

  • by hazelnut-tree on 7/18/23, 8:44 PM

    From the paper:

    > We describe a system, 'ExplainThis', that automatically generates contextualized language documentation, structured based on our study of language documentation but specialized to the particular code at the cursor.

    > This system is integrated into the structure editor of Hazel (https://hazel.org/), a live functional environment.

    ----

    > Potential use cases of 'ExplainThis' include code reading and comprehension (e.g. a user trying to understand existing functions in a library or examples in instructor-created tutorials); writing new code (e.g. a user trying to modify starter code to complete an assignment); or debugging (e.g. a user trying to understand unexpected behavior of a function).