Skip to content

feat: compiled comments #361

Description

@MagentaDude

Currently, in goboscript, comments are removed at compile time, similar to other languages. However, since Scratch has a built-in comment feature, it would be nice to let users generate their own comments automatically.
Comments using # would still be ignored when compiling; but two hashes in a row ## would be used for these compiled comments. For example:

Ignored comment:
move 10; # todo: let the user choose how much to move by?

Compiled comment:
proc draw_image input { ## Draws an image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions