docs: add initial modules documentation and update error/variable terminology
Create new modules.markdown guide explaining Wren's module system, import syntax, and top-level scoping. Update error-handling.markdown to use "Top-level variable" instead of "Global variable" in error messages. Revise variables.markdown to clarify top-level variable visibility and link to the new modules page. Add "Modules" link to the site navigation template.
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
<li><a href="variables.html">Variables</a></li>
|
||||
<li><a href="control-flow.html">Control Flow</a></li>
|
||||
<li><a href="error-handling.html">Error Handling</a></li>
|
||||
<li><a href="modules.html">Modules</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section>
|
||||
|
||||
Reference in New Issue
Block a user