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; there would be a new keyword -- for these compiled comments. This would match with Lua and also represent the line going out to the comments in the Scratch editor. 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 using an RGBA hex format.

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