tsuki-lang / tsuki

An elegant, robust, and efficient programming language, that just lets you get things done.
MIT License
29 stars 2 forks source link

Module-level documentation #14

Open liquidev opened 2 years ago

liquidev commented 2 years ago

There needs to be a way of documenting modules. Right now documentation comments document whatever follows, but module-level documentation is a different case, as modules are defined by the file structure rather than syntax.

Therefore, I propose the following syntax for module-level docs:

#! This is a module-level documentation comment.
#! Hello, world!